public class IndexEnumeration<T> extends java.lang.Object implements javax.naming.NamingEnumeration<IndexEntry>
| Modifier and Type | Field and Description |
|---|---|
private boolean |
hasMore |
private IndexEntry |
prefetched |
private java.util.regex.Pattern |
re |
private IndexEntry |
returned |
private boolean |
swapKeyVal |
private IndexEntry |
tmp |
private javax.naming.NamingEnumeration<org.apache.directory.api.ldap.model.cursor.Tuple> |
underlying |
| Constructor and Description |
|---|
IndexEnumeration(javax.naming.NamingEnumeration<org.apache.directory.api.ldap.model.cursor.Tuple> list) |
IndexEnumeration(javax.naming.NamingEnumeration<org.apache.directory.api.ldap.model.cursor.Tuple> list,
boolean swapKeyVal) |
IndexEnumeration(javax.naming.NamingEnumeration<org.apache.directory.api.ldap.model.cursor.Tuple> list,
boolean swapKeyVal,
java.util.regex.Pattern regex) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasMore() |
boolean |
hasMoreElements() |
IndexEntry |
next() |
IndexEntry |
nextElement() |
private void |
prefetch() |
private final java.util.regex.Pattern re
private final IndexEntry tmp
private final IndexEntry returned
private final IndexEntry prefetched
private final boolean swapKeyVal
private final javax.naming.NamingEnumeration<org.apache.directory.api.ldap.model.cursor.Tuple> underlying
private boolean hasMore
public IndexEnumeration(javax.naming.NamingEnumeration<org.apache.directory.api.ldap.model.cursor.Tuple> list)
throws javax.naming.NamingException
javax.naming.NamingExceptionpublic IndexEnumeration(javax.naming.NamingEnumeration<org.apache.directory.api.ldap.model.cursor.Tuple> list,
boolean swapKeyVal)
throws javax.naming.NamingException
javax.naming.NamingExceptionpublic IndexEnumeration(javax.naming.NamingEnumeration<org.apache.directory.api.ldap.model.cursor.Tuple> list,
boolean swapKeyVal,
java.util.regex.Pattern regex)
throws javax.naming.NamingException
javax.naming.NamingExceptionpublic IndexEntry next() throws javax.naming.NamingException
next in interface javax.naming.NamingEnumeration<IndexEntry>javax.naming.NamingExceptionNamingEnumeration.next()public IndexEntry nextElement()
nextElement in interface java.util.Enumeration<IndexEntry>Enumeration.nextElement()public boolean hasMore()
hasMore in interface javax.naming.NamingEnumeration<IndexEntry>NamingEnumeration.hasMore()public boolean hasMoreElements()
hasMoreElements in interface java.util.Enumeration<IndexEntry>Enumeration.hasMoreElements()public void close()
throws javax.naming.NamingException
close in interface javax.naming.NamingEnumeration<IndexEntry>javax.naming.NamingExceptionNamingEnumeration.close()private void prefetch()
throws javax.naming.NamingException
javax.naming.NamingException