public class InstanceListIterator extends AbstractPipeInputIterator
This must be used with caution, for it can result in accidentally piping the same instances through the same pipe twice, something that MALLET otherwise tries to protect you from.
To save memory, in the future we might add a flag that (if set) would cause this to remove the original instances from the InstanceList.
Created: Oct 31, 2004
parentInstance| Constructor and Description |
|---|
InstanceListIterator(InstanceList source) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
Instance |
nextInstance() |
next, remove, setParentInstanceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic InstanceListIterator(InstanceList source)
public Instance nextInstance()
nextInstance in interface PipeInputIteratornextInstance in class AbstractPipeInputIteratorpublic boolean hasNext()
hasNext in interface IteratorhasNext in class AbstractPipeInputIteratorCopyright © 2019 JULIE Lab, Germany. All rights reserved.