|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.core.WekaEnumeration
public class WekaEnumeration
Class for enumerating an array list's elements.
| Constructor Summary | |
|---|---|
WekaEnumeration(List vector)
Constructs an enumeration. |
|
WekaEnumeration(List vector,
int special)
Constructs an enumeration with a special element. |
|
| Method Summary | |
|---|---|
String |
getRevision()
Returns the revision string. |
boolean |
hasMoreElements()
Tests if there are any more elements to enumerate. |
Object |
nextElement()
Returns the next element. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WekaEnumeration(List vector)
vector - the vector which is to be enumerated
public WekaEnumeration(List vector,
int special)
vector - the vector which is to be enumeratedspecial - the index of the special element| Method Detail |
|---|
public final boolean hasMoreElements()
hasMoreElements in interface Enumerationpublic final Object nextElement()
nextElement in interface Enumerationpublic String getRevision()
getRevision in interface RevisionHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||