org.apache.mahout.utils.vectors
Class SequenceFileVectorIterable.SeqFileIterator

java.lang.Object
  extended by org.apache.mahout.utils.vectors.SequenceFileVectorIterable.SeqFileIterator
All Implemented Interfaces:
java.util.Iterator<Vector>
Enclosing class:
SequenceFileVectorIterable

public class SequenceFileVectorIterable.SeqFileIterator
extends java.lang.Object
implements java.util.Iterator<Vector>


Method Summary
 boolean hasNext()
           
 org.apache.hadoop.io.Writable key()
          Only valid when next() is also valid
 Vector next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

hasNext

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

next

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

key

public org.apache.hadoop.io.Writable key()
Only valid when next() is also valid

Returns:
The current Key

remove

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


Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.