Package cc.mallet.types
Class FeatureVectorSequence.Iterator
- java.lang.Object
-
- cc.mallet.types.FeatureVectorSequence.Iterator
-
- All Implemented Interfaces:
java.util.Iterator<FeatureVector>
- Enclosing class:
- FeatureVectorSequence
public class FeatureVectorSequence.Iterator extends java.lang.Object implements java.util.Iterator<FeatureVector>
An iterator over the FeatureVectors in the sequence.
-
-
Constructor Summary
Constructors Constructor Description Iterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndex()
boolean
hasNext()
FeatureVector
next()
void
remove()
-
-
-
Method Detail
-
next
public FeatureVector next()
- Specified by:
next
in interfacejava.util.Iterator<FeatureVector>
-
getIndex
public int getIndex()
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<FeatureVector>
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator<FeatureVector>
-
-