org.apache.directory.server.core.partition.impl.btree
Class IndexEnumeration<T>
java.lang.Object
org.apache.directory.server.core.partition.impl.btree.IndexEnumeration<T>
- All Implemented Interfaces:
- Enumeration<IndexEntry>, NamingEnumeration<IndexEntry>
public class IndexEnumeration<T>
- extends Object
- implements NamingEnumeration<IndexEntry>
A NamingEnumeration over an Index which returns IndexRecords.
- Author:
- Apache Directory Project
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexEnumeration
public IndexEnumeration(NamingEnumeration<org.apache.directory.shared.ldap.model.cursor.Tuple> list)
throws NamingException
- Throws:
NamingException
IndexEnumeration
public IndexEnumeration(NamingEnumeration<org.apache.directory.shared.ldap.model.cursor.Tuple> list,
boolean swapKeyVal)
throws NamingException
- Throws:
NamingException
IndexEnumeration
public IndexEnumeration(NamingEnumeration<org.apache.directory.shared.ldap.model.cursor.Tuple> list,
boolean swapKeyVal,
Pattern regex)
throws NamingException
- Throws:
NamingException
next
public IndexEntry next()
throws NamingException
- Specified by:
next in interface NamingEnumeration<IndexEntry>
- Throws:
NamingException- See Also:
NamingEnumeration.next()
nextElement
public IndexEntry nextElement()
- Specified by:
nextElement in interface Enumeration<IndexEntry>
- See Also:
Enumeration.nextElement()
hasMore
public boolean hasMore()
- Specified by:
hasMore in interface NamingEnumeration<IndexEntry>
- See Also:
NamingEnumeration.hasMore()
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements in interface Enumeration<IndexEntry>
- See Also:
Enumeration.hasMoreElements()
close
public void close()
throws NamingException
- Specified by:
close in interface NamingEnumeration<IndexEntry>
- Throws:
NamingException- See Also:
NamingEnumeration.close()
Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.