|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weka.core.FastVector.FastVectorEnumeration
Class for enumerating the vector's elements.
Constructor Summary | |
FastVector.FastVectorEnumeration(FastVector vector)
Constructs an enumeration. |
|
FastVector.FastVectorEnumeration(FastVector vector,
int special)
Constructs an enumeration with a special element. |
Method Summary | |
boolean |
hasMoreElements()
Tests if there are any more elements to enumerate. |
java.lang.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 FastVector.FastVectorEnumeration(FastVector vector)
vector
- the vector which is to be enumeratedpublic FastVector.FastVectorEnumeration(FastVector vector, int special)
vector
- the vector which is to be enumeratedspecial
- the index of the special elementMethod Detail |
public final boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration
public final java.lang.Object nextElement()
nextElement
in interface java.util.Enumeration
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2003 David Lindsay, Computer Learning Research Centre, Dept. Computer Science, Royal Holloway, University of London