cc.mallet.pipe.iterator
Class PipeInputIterator

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

Deprecated.

@Deprecated
public abstract class PipeInputIterator
extends java.lang.Object
implements java.util.Iterator<Instance>

Interface for classes that generate instances. Typically, these instances will be unprocessed (e.g., they may come from a corpus data file), and are passed through a pipe as they are added to an InstanceList.

See Also:
Pipe, InstanceList

Constructor Summary
PipeInputIterator()
          Deprecated.  
 
Method Summary
 double getWeight()
          Deprecated.  
abstract  boolean hasNext()
          Deprecated.  
abstract  Instance next()
          Deprecated.  
 void remove()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PipeInputIterator

public PipeInputIterator()
Deprecated. 
Method Detail

next

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

hasNext

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

remove

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

getWeight

public double getWeight()
Deprecated.