|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umass.cs.mallet.base.pipe.iterator.AbstractPipeInputIterator
edu.umass.cs.mallet.base.pipe.iterator.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
.
Field Summary |
Fields inherited from class edu.umass.cs.mallet.base.pipe.iterator.AbstractPipeInputIterator |
parentInstance |
Constructor Summary | |
PipeExtendedIterator(PipeInputIterator iterator,
Pipe pipe)
Creates a new PipeExtendedIterator instance. |
Method Summary | |
boolean |
hasNext()
|
Instance |
nextInstance()
|
Methods inherited from class edu.umass.cs.mallet.base.pipe.iterator.AbstractPipeInputIterator |
next, remove, setParentInstance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PipeExtendedIterator(PipeInputIterator 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
hasNext
in class AbstractPipeInputIterator
public Instance nextInstance()
nextInstance
in interface PipeInputIterator
nextInstance
in class AbstractPipeInputIterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |