public class ArrayNamingEnumeration<T> extends Object implements NamingEnumeration<T>
| Constructor and Description |
|---|
ArrayNamingEnumeration(T[] objects)
Creates a NamingEnumeration over an array of objects.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasMore() |
boolean |
hasMoreElements() |
T |
next() |
T |
nextElement() |
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–2016 The Apache Software Foundation. All rights reserved.