Class SerialPipes

    • Constructor Detail

      • SerialPipes

        public SerialPipes()
      • SerialPipes

        public SerialPipes​(Pipe[] pipes)
      • SerialPipes

        public SerialPipes​(java.util.Collection<Pipe> pipeList)
    • Method Detail

      • newSerialPipesFromRange

        public SerialPipes newSerialPipesFromRange​(int start,
                                                   int end)
      • setTargetProcessing

        public void setTargetProcessing​(boolean lookForAndProcessTarget)
        Description copied from class: Pipe
        Set whether input is taken from target field of instance during processing. If argument is false, don't expect to find input material for the target. By default, this is true.
        setTargetProcessing in class Pipe
      • newIteratorFrom

        public java.util.Iterator<Instance> newIteratorFrom​(java.util.Iterator<Instance> source)
        Description copied from class: Pipe
        Given an InstanceIterator, return a new InstanceIterator whose instances have also been processed by this pipe. If you override this method, be sure to check and obey this pipe's skipIfFalse(Instance) method.
        newIteratorFrom in class Pipe
      • size

        public int size()
      • getPipe

        public Pipe getPipe​(int index)
      • pipes

        public java.util.ArrayList<Pipe> pipes()
        Allows access to the underlying collection of Pipes. Use with caution.
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object