|
||||||||||
| 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
public class 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 problem| Method Detail |
|---|
public java.lang.Object next()
throws javax.naming.NamingException
next in interface javax.naming.NamingEnumerationjavax.naming.NamingExceptionNamingEnumeration.next()public java.lang.Object nextElement()
nextElement in interface java.util.EnumerationEnumeration.nextElement()public boolean hasMore()
hasMore in interface javax.naming.NamingEnumerationNamingEnumeration.hasMore()public boolean hasMoreElements()
hasMoreElements in interface java.util.EnumerationEnumeration.hasMoreElements()public void close()
close in interface javax.naming.NamingEnumerationNamingEnumeration.close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||