Package cc.mallet.pipe.iterator
Class PipeInputIterator
- java.lang.Object
-
- cc.mallet.pipe.iterator.PipeInputIterator
-
- All Implemented Interfaces:
java.util.Iterator<Instance>
@Deprecated public abstract class PipeInputIterator extends java.lang.Object implements java.util.Iterator<Instance>
Deprecated.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
Constructors Constructor Description PipeInputIterator()Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description doublegetWeight()Deprecated.abstract booleanhasNext()Deprecated.abstract Instancenext()Deprecated.voidremove()Deprecated.
-
-
-
Method Detail
-
next
public abstract Instance next()
Deprecated.- Specified by:
nextin interfacejava.util.Iterator<Instance>
-
hasNext
public abstract boolean hasNext()
Deprecated.- Specified by:
hasNextin interfacejava.util.Iterator<Instance>
-
remove
public void remove()
Deprecated.- Specified by:
removein interfacejava.util.Iterator<Instance>
-
getWeight
public double getWeight()
Deprecated.
-
-