|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.core.partition.impl.btree.jdbm.DupsEnumeration
NamingEnumeration that enumerates over duplicate values nested into a value using a TreeSet.
Constructor Summary | |
DupsEnumeration(JdbmTable table,
NoDupsEnumeration list)
Creates a DupsEnumeration over a enumeration of Tuples holding TreeSets for values that have the same key. |
Method Summary | |
void |
close()
Closes the underlying NamingEnumeration |
boolean |
hasMore()
|
boolean |
hasMoreElements()
Calls hasMore. |
java.lang.Object |
next()
Returns the same Tuple every time but with different key/value pairs. |
java.lang.Object |
nextElement()
Returns the same Tuple every time but with different key/value pairs. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DupsEnumeration(JdbmTable table, NoDupsEnumeration list) throws javax.naming.NamingException
list
- the underlying enumeration
javax.naming.NamingException
- if there is a problemMethod Detail |
public java.lang.Object next() throws javax.naming.NamingException
next
in interface javax.naming.NamingEnumeration
javax.naming.NamingException
NamingEnumeration.next()
public java.lang.Object nextElement()
nextElement
in interface java.util.Enumeration
Enumeration.nextElement()
public boolean hasMore()
hasMore
in interface javax.naming.NamingEnumeration
NamingEnumeration.hasMore()
public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration
Enumeration.hasMoreElements()
public void close()
close
in interface javax.naming.NamingEnumeration
NamingEnumeration.close()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |