public class RecyclableNamingEnumeration extends Object implements NamingEnumeration
| Modifier and Type | Field and Description |
|---|---|
protected Vector |
entries
Entries.
|
protected Enumeration |
enumeration
Underlying enumeration.
|
| Constructor and Description |
|---|
RecyclableNamingEnumeration(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() |
Object |
next()
Retrieves the next element in the enumeration.
|
Object |
nextElement() |
protected Vector entries
protected Enumeration enumeration
public RecyclableNamingEnumeration(Vector entries)
public Object next() throws NamingException
next in interface NamingEnumerationNamingExceptionpublic boolean hasMore()
throws NamingException
hasMore in interface NamingEnumerationNamingExceptionpublic void close()
throws NamingException
close in interface NamingEnumerationNamingExceptionpublic boolean hasMoreElements()
hasMoreElements in interface Enumerationpublic Object nextElement()
nextElement in interface EnumerationCopyright © 2016 JBoss by Red Hat. All rights reserved.