org.apache.directory.server.core.partition.impl.btree.jdbm
Class BTreeEnumeration
java.lang.Object
org.apache.directory.server.core.partition.impl.btree.jdbm.BTreeEnumeration
- All Implemented Interfaces:
- java.util.Enumeration, javax.naming.NamingEnumeration
- public class BTreeEnumeration
- extends java.lang.Object
- implements javax.naming.NamingEnumeration
A NamingEnumeration that returns keys in a BTree. This is used specifically
for situations when tables support duplicate keys and a BTree is used for
storing the values for that key. This enumeration thus advances a browser forwards
returning keys from a BTree as values.
- Version:
- $Rev$
- Author:
- Apache Directory Project
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
close
public void close()
throws javax.naming.NamingException
- Specified by:
close
in interface javax.naming.NamingEnumeration
- Throws:
javax.naming.NamingException
hasMore
public boolean hasMore()
throws javax.naming.NamingException
- Specified by:
hasMore
in interface javax.naming.NamingEnumeration
- Throws:
javax.naming.NamingException
next
public java.lang.Object next()
throws javax.naming.NamingException
- Specified by:
next
in interface javax.naming.NamingEnumeration
- Throws:
javax.naming.NamingException
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interface java.util.Enumeration
nextElement
public java.lang.Object nextElement()
- Specified by:
nextElement
in interface java.util.Enumeration