public class ArrayNamingEnumeration<T> extends Object implements NamingEnumeration<T>
| Constructor and Description |
|---|
ArrayNamingEnumeration(T[] objects)
Creates a NamingEnumeration over an array of objects.
|
public ArrayNamingEnumeration(T[] objects)
objects - the objects to enumerate overpublic void close()
close in interface NamingEnumeration<T>public boolean hasMore()
hasMore in interface NamingEnumeration<T>public T next()
next in interface NamingEnumeration<T>public boolean hasMoreElements()
hasMoreElements in interface Enumeration<T>public T nextElement()
nextElement in interface Enumeration<T>Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.