public class WekaEnumeration extends Object implements Enumeration, RevisionHandler
| Constructor and Description |
|---|
WekaEnumeration(List vector)
Constructs an enumeration.
|
WekaEnumeration(List 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.
|
Object |
nextElement()
Returns the next element.
|
public WekaEnumeration(List vector)
vector - the vector which is to be enumeratedpublic WekaEnumeration(List vector, int special)
vector - the vector which is to be enumeratedspecial - the index of the special elementpublic final boolean hasMoreElements()
hasMoreElements in interface Enumerationpublic final Object nextElement()
nextElement in interface Enumerationpublic String getRevision()
getRevision in interface RevisionHandlerCopyright © 2013 University of Waikato, Hamilton, NZ. All Rights Reserved.