org.apache.naming.resources
public class RecyclableNamingEnumeration extends java.lang.Object implements javax.naming.NamingEnumeration
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Vector |
entries
Entries.
|
protected java.util.Enumeration |
enumeration
Underlying enumeration.
|
| Constructor and Description |
|---|
RecyclableNamingEnumeration(java.util.Vector entries) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this enumeration.
|
boolean |
hasMore()
Determines whether there are any more elements in the enumeration.
|
boolean |
hasMoreElements() |
java.lang.Object |
next()
Retrieves the next element in the enumeration.
|
java.lang.Object |
nextElement() |
protected java.util.Vector entries
protected java.util.Enumeration enumeration
public RecyclableNamingEnumeration(java.util.Vector entries)
public java.lang.Object next()
throws javax.naming.NamingException
next in interface javax.naming.NamingEnumerationjavax.naming.NamingExceptionpublic boolean hasMore()
throws javax.naming.NamingException
hasMore in interface javax.naming.NamingEnumerationjavax.naming.NamingExceptionpublic void close()
throws javax.naming.NamingException
close in interface javax.naming.NamingEnumerationjavax.naming.NamingExceptionpublic boolean hasMoreElements()
hasMoreElements in interface java.util.Enumerationpublic java.lang.Object nextElement()
nextElement in interface java.util.EnumerationCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.