Package cc.mallet.pipe.iterator
Class PipeExtendedIterator
- java.lang.Object
-
- cc.mallet.pipe.iterator.PipeExtendedIterator
-
- All Implemented Interfaces:
java.util.Iterator<Instance>
@Deprecated public class PipeExtendedIterator extends java.lang.Object implements java.util.Iterator<Instance>
Deprecated.Provides aPipeExtendedIterator
that applies aPipe
to theInstance
s returned by a givenPipeExtendedIterator
, It is intended to encapsulate preprocessing that should not belong to the inputPipe
of aClassifier
orTransducer
.- Version:
- 1.0
- Author:
- Fernando Pereira
-
-
Constructor Summary
Constructors Constructor Description PipeExtendedIterator(java.util.Iterator<Instance> iterator, Pipe pipe)
Deprecated.Creates a newPipeExtendedIterator
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
hasNext()
Deprecated.Instance
next()
Deprecated.void
remove()
Deprecated.
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
Deprecated.- Specified by:
hasNext
in interfacejava.util.Iterator<Instance>
-
next
public Instance next()
Deprecated.- Specified by:
next
in interfacejava.util.Iterator<Instance>
-
remove
public void remove()
Deprecated.- Specified by:
remove
in interfacejava.util.Iterator<Instance>
-
-