public class WekaEnumeration<E> extends Object implements Enumeration<E>, RevisionHandler
| Constructor and Description |
|---|
WekaEnumeration(List<E> vector)
Constructs an enumeration.
|
WekaEnumeration(List<E> vector,
int special)
Constructs an enumeration with a special element.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getRevision()
Returns the revision string.
|
boolean |
hasMoreElements()
Tests if there are any more elements to enumerate.
|
E |
nextElement()
Returns the next element.
|
public WekaEnumeration(List<E> vector)
vector - the vector which is to be enumeratedpublic final boolean hasMoreElements()
hasMoreElements in interface Enumeration<E>public final E nextElement()
nextElement in interface Enumeration<E>public String getRevision()
getRevision in interface RevisionHandlerCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.