Class PipeInputIterator

  • All Implemented Interfaces:
    java.util.Iterator<Instance>

    @Deprecated
    public abstract class PipeInputIterator
    extends java.lang.Object
    implements java.util.Iterator<Instance>
    Deprecated.
    Interface for classes that generate instances. Typically, these instances will be unprocessed (e.g., they may come from a corpus data file), and are passed through a pipe as they are added to an InstanceList.
    See Also:
    Pipe, InstanceList
    • Constructor Detail

      • PipeInputIterator

        public PipeInputIterator()
        Deprecated.
    • Method Detail

      • next

        public abstract Instance next()
        Deprecated.
        Specified by:
        next in interface java.util.Iterator<Instance>
      • hasNext

        public abstract boolean hasNext()
        Deprecated.
        Specified by:
        hasNext in interface java.util.Iterator<Instance>
      • remove

        public void remove()
        Deprecated.
        Specified by:
        remove in interface java.util.Iterator<Instance>
      • getWeight

        public double getWeight()
        Deprecated.