org.apache.naming.resources

Class RecyclableNamingEnumeration

public class RecyclableNamingEnumeration extends Object implements NamingEnumeration

Naming enumeration implementation.

Version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $

Author: Remy Maucherat

Field Summary
protected Vectorentries
Entries.
protected Enumerationenumeration
Underlying enumeration.
Constructor Summary
RecyclableNamingEnumeration(Vector entries)
Method Summary
voidclose()
Closes this enumeration.
booleanhasMore()
Determines whether there are any more elements in the enumeration.
booleanhasMoreElements()
Objectnext()
Retrieves the next element in the enumeration.
ObjectnextElement()

Field Detail

entries

protected Vector entries
Entries.

enumeration

protected Enumeration enumeration
Underlying enumeration.

Constructor Detail

RecyclableNamingEnumeration

public RecyclableNamingEnumeration(Vector entries)

Method Detail

close

public void close()
Closes this enumeration.

hasMore

public boolean hasMore()
Determines whether there are any more elements in the enumeration.

hasMoreElements

public boolean hasMoreElements()

next

public Object next()
Retrieves the next element in the enumeration.

nextElement

public Object nextElement()
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.