public class EmptyIndexCursor<K,E,ID> extends AbstractIndexCursor<K,E,ID>
Constructor and Description |
---|
EmptyIndexCursor() |
Modifier and Type | Method and Description |
---|---|
void |
after(IndexEntry<K,E,ID> element) |
void |
afterLast() |
void |
afterValue(ID id,
K indexValue)
An alternative to calling after(IndexEntry) which often may require
wrapping an id and value in a newly created IndexEntry object that may
be an unnecessary object creation.
|
boolean |
available() |
void |
before(IndexEntry<K,E,ID> element) |
void |
beforeFirst() |
void |
beforeValue(ID id,
K indexValue)
An alternative to calling before(IndexEntry) which often may require
wrapping an id and value in a newly created IndexEntry object that may
be an unnecessary object creation.
|
boolean |
first() |
IndexEntry<K,E,ID> |
get() |
boolean |
isElementReused() |
boolean |
last() |
boolean |
next() |
boolean |
previous() |
checkNotClosed, close, close, isClosed, iterator, setClosureMonitor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public boolean available()
public boolean isElementReused()
public void afterValue(ID id, K indexValue) throws Exception
IndexCursor
id
- the id for the entryindexValue
- the value to advance just after the last valueException
- if there are faults performing this operationpublic void beforeValue(ID id, K indexValue) throws Exception
IndexCursor
id
- the id for the entryindexValue
- the value to advance just beforeException
- if there are faults performing this operationCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.