cc.mallet.types
Class FeatureVectorSequence.Iterator

java.lang.Object
  extended by 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
FeatureVectorSequence.Iterator()
           
 
Method Summary
 int getIndex()
           
 boolean hasNext()
           
 FeatureVector next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureVectorSequence.Iterator

public FeatureVectorSequence.Iterator()
Method Detail

next

public FeatureVector next()
Specified by:
next in interface java.util.Iterator<FeatureVector>

getIndex

public int getIndex()

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<FeatureVector>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<FeatureVector>