public final class ReverseEnumerator<T> extends Object implements Enumeration<T>
Enumeration
.Modifier and Type | Field and Description |
---|---|
private int |
index |
private ArrayList<T> |
vec |
Constructor and Description |
---|
ReverseEnumerator(Enumeration<T> e) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasMoreElements() |
T |
nextElement() |
public ReverseEnumerator(Enumeration<T> e)
public boolean hasMoreElements()
hasMoreElements
in interface Enumeration<T>
public T nextElement()
nextElement
in interface Enumeration<T>