|
||||||||||
| 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
public class SingletonEnumeration
A NamingEnumeration over a single element.
| Constructor Summary | |
|---|---|
SingletonEnumeration(java.lang.Object a_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()
|
java.lang.Object |
next()
|
java.lang.Object |
nextElement()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SingletonEnumeration(java.lang.Object a_element)
a_element - TODO| Method Detail |
|---|
public void close()
close in interface javax.naming.NamingEnumerationNamingEnumeration.close()public boolean hasMore()
hasMore in interface javax.naming.NamingEnumerationNamingEnumeration.hasMore()public java.lang.Object next()
next in interface javax.naming.NamingEnumerationNamingEnumeration.next()public boolean hasMoreElements()
hasMoreElements in interface java.util.EnumerationEnumeration.hasMoreElements()public java.lang.Object nextElement()
nextElement in interface java.util.EnumerationEnumeration.nextElement()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||