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 NamingEnumeration
NamingException
public boolean hasMore() throws NamingException
hasMore
in interface NamingEnumeration
NamingException
public void close() throws NamingException
close
in interface NamingEnumeration
NamingException
public boolean hasMoreElements()
hasMoreElements
in interface Enumeration
public Object nextElement()
nextElement
in interface Enumeration
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.