|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.ldap.util.SingletonEnumeration<T>
public class SingletonEnumeration<T>
A NamingEnumeration over a single element.
Constructor Summary | |
---|---|
SingletonEnumeration(T element)
Creates a NamingEnumeration over a single element. |
Method Summary | |
---|---|
void |
close()
Makes calls to hasMore to false even if we had more. |
boolean |
hasMore()
|
boolean |
hasMoreElements()
|
T |
next()
|
T |
nextElement()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SingletonEnumeration(T element)
element
- TODOMethod Detail |
---|
public void close()
close
in interface javax.naming.NamingEnumeration<T>
NamingEnumeration.close()
public boolean hasMore()
hasMore
in interface javax.naming.NamingEnumeration<T>
NamingEnumeration.hasMore()
public T next()
next
in interface javax.naming.NamingEnumeration<T>
NamingEnumeration.next()
public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration<T>
Enumeration.hasMoreElements()
public T nextElement()
nextElement
in interface java.util.Enumeration<T>
Enumeration.nextElement()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |