public class PipeExtendedIterator extends AbstractPipeInputIterator
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.parentInstance| Constructor and Description |
|---|
PipeExtendedIterator(PipeInputIterator iterator,
Pipe pipe)
Creates a new
PipeExtendedIterator instance. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
Instance |
nextInstance() |
next, remove, setParentInstanceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic PipeExtendedIterator(PipeInputIterator iterator, Pipe pipe)
PipeExtendedIterator instance.iterator - the base PipeExtendedIteratorpipe - The Pipe to postprocess the iterator outputpublic boolean hasNext()
hasNext in interface IteratorhasNext in class AbstractPipeInputIteratorpublic Instance nextInstance()
nextInstance in interface PipeInputIteratornextInstance in class AbstractPipeInputIteratorCopyright © 2019 JULIE Lab, Germany. All rights reserved.