cc.mallet.pipe.iterator
Class SimpleFileLineIterator

java.lang.Object
  extended by cc.mallet.pipe.iterator.SimpleFileLineIterator
All Implemented Interfaces:
java.util.Iterator<Instance>

public class SimpleFileLineIterator
extends java.lang.Object
implements java.util.Iterator<Instance>


Constructor Summary
SimpleFileLineIterator(java.lang.String filename)
           
 
Method Summary
 boolean hasNext()
           
 Instance next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleFileLineIterator

public SimpleFileLineIterator(java.lang.String filename)
Method Detail

next

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

hasNext

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

remove

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