|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cc.mallet.pipe.iterator.PipeExtendedIterator
@Deprecated public class PipeExtendedIterator
Provides a PipeExtendedIterator
that applies a Pipe
to
the Instance
s returned by a given PipeExtendedIterator
,
It is intended to encapsulate preprocessing that should not belong to the
input Pipe
of a Classifier
or Transducer
.
Constructor Summary | |
---|---|
PipeExtendedIterator(java.util.Iterator<Instance> iterator,
Pipe pipe)
Deprecated. Creates a new PipeExtendedIterator instance. |
Method Summary | |
---|---|
boolean |
hasNext()
Deprecated. |
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 |
---|
public PipeExtendedIterator(java.util.Iterator<Instance> iterator, Pipe pipe)
PipeExtendedIterator
instance.
iterator
- the base PipeExtendedIterator
pipe
- The Pipe
to postprocess the iterator outputMethod Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator<Instance>
public Instance next()
next
in interface java.util.Iterator<Instance>
public void remove()
remove
in interface java.util.Iterator<Instance>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |