|
||||||||||
| 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 Instances 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 PipeExtendedIteratorpipe - The Pipe to postprocess the iterator output| Method Detail |
public boolean hasNext()
hasNext in interface java.util.IteratorhasNext in class AbstractPipeInputIteratorpublic Instance nextInstance()
nextInstance in interface PipeInputIteratornextInstance in class AbstractPipeInputIterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||