Class PipeExtendedIterator

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

    @Deprecated
    public class PipeExtendedIterator
    extends java.lang.Object
    implements java.util.Iterator<Instance>
    Deprecated.
    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.
    Version:
    1.0
    Author:
    Fernando Pereira
    • Constructor Summary

      Constructors 
      Constructor Description
      PipeExtendedIterator​(java.util.Iterator<Instance> iterator, Pipe pipe)
      Deprecated.
      Creates a new PipeExtendedIterator instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean hasNext()
      Deprecated.
       
      Instance next()
      Deprecated.
       
      void remove()
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Iterator

        forEachRemaining
    • Constructor Detail

      • PipeExtendedIterator

        public PipeExtendedIterator​(java.util.Iterator<Instance> iterator,
                                    Pipe pipe)
        Deprecated.
        Creates a new PipeExtendedIterator instance.
        Parameters:
        iterator - the base PipeExtendedIterator
        pipe - The Pipe to postprocess the iterator output
    • Method Detail

      • hasNext

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

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

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