public abstract class AbstractIndexCursor<V> extends org.apache.directory.api.ldap.model.cursor.AbstractCursor<IndexEntry<V,java.lang.String>>
| Modifier and Type | Field and Description |
|---|---|
private boolean |
available
Tells if there are some element available in the cursor
|
protected static java.lang.String |
UNSUPPORTED_MSG
The message used for unsupported operations
|
| Constructor and Description |
|---|
AbstractIndexCursor() |
| Modifier and Type | Method and Description |
|---|---|
void |
after(IndexEntry<V,java.lang.String> element) |
boolean |
available() |
void |
before(IndexEntry<V,java.lang.String> element) |
protected abstract java.lang.String |
getUnsupportedMessage()
Gets the message to return for operations that are not supported
|
protected boolean |
setAvailable(boolean available) |
checkNotClosed, close, close, isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, iterator, setClosureMonitor, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprivate boolean available
protected static final java.lang.String UNSUPPORTED_MSG
public boolean available()
protected abstract java.lang.String getUnsupportedMessage()
public void after(IndexEntry<V,java.lang.String> element) throws org.apache.directory.api.ldap.model.exception.LdapException, org.apache.directory.api.ldap.model.cursor.CursorException
org.apache.directory.api.ldap.model.exception.LdapExceptionorg.apache.directory.api.ldap.model.cursor.CursorExceptionpublic void before(IndexEntry<V,java.lang.String> element) throws org.apache.directory.api.ldap.model.exception.LdapException, org.apache.directory.api.ldap.model.cursor.CursorException
org.apache.directory.api.ldap.model.exception.LdapExceptionorg.apache.directory.api.ldap.model.cursor.CursorExceptionprotected boolean setAvailable(boolean available)