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.NamingEnumeration
javax.naming.NamingException
public boolean hasMore() throws javax.naming.NamingException
hasMore
in interface javax.naming.NamingEnumeration
javax.naming.NamingException
public void close() throws javax.naming.NamingException
close
in interface javax.naming.NamingEnumeration
javax.naming.NamingException
public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration
public java.lang.Object nextElement()
nextElement
in interface java.util.Enumeration
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.