|
Apache Tomcat 7.0.4 | ||||||||
| 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 Vector<E> |
entries
Entries. |
protected Enumeration<E> |
enumeration
Underlying enumeration. |
| Constructor Summary | |
|---|---|
RecyclableNamingEnumeration(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 Vector<E> entries
protected Enumeration<E> enumeration
| Constructor Detail |
|---|
public RecyclableNamingEnumeration(Vector<E> entries)
| Method Detail |
|---|
public E next()
throws NamingException
next in interface NamingEnumeration<E>NamingException
public boolean hasMore()
throws NamingException
hasMore in interface NamingEnumeration<E>NamingException
public void close()
throws NamingException
close in interface NamingEnumeration<E>NamingExceptionpublic boolean hasMoreElements()
hasMoreElements in interface Enumeration<E>public E nextElement()
nextElement in interface Enumeration<E>
|
Apache Tomcat 7.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||