|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.naming.NamingEnumerationImpl<T>
public class NamingEnumerationImpl<T>
Naming enumeration implementation.
Field Summary | |
---|---|
protected java.util.Iterator<T> |
iterator
Underlying collection. |
Constructor Summary | |
---|---|
NamingEnumerationImpl(java.util.Collection<T> entries)
|
Method Summary | |
---|---|
void |
close()
Closes this enumeration. |
boolean |
hasMore()
Determines whether there are any more elements in the enumeration. |
boolean |
hasMoreElements()
|
T |
next()
Retrieves the next element in the enumeration. |
T |
nextElement()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Iterator<T> iterator
Constructor Detail |
---|
public NamingEnumerationImpl(java.util.Collection<T> entries)
Method Detail |
---|
public T next() throws javax.naming.NamingException
next
in interface javax.naming.NamingEnumeration<T>
javax.naming.NamingException
public boolean hasMore() throws javax.naming.NamingException
hasMore
in interface javax.naming.NamingEnumeration<T>
javax.naming.NamingException
public void close() throws javax.naming.NamingException
close
in interface javax.naming.NamingEnumeration<T>
javax.naming.NamingException
public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration<T>
public T nextElement()
nextElement
in interface java.util.Enumeration<T>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |