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 double
getWeight()
Deprecated.abstract boolean
hasNext()
Deprecated.abstract Instance
next()
Deprecated.void
remove()
Deprecated.
-
-
-
Method Detail
-
next
public abstract Instance next()
Deprecated.- Specified by:
next
in interfacejava.util.Iterator<Instance>
-
hasNext
public abstract boolean hasNext()
Deprecated.- Specified by:
hasNext
in interfacejava.util.Iterator<Instance>
-
remove
public void remove()
Deprecated.- Specified by:
remove
in interfacejava.util.Iterator<Instance>
-
getWeight
public double getWeight()
Deprecated.
-
-