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