Class RearrangerExpand<T>

  • Type Parameters:
    T - Sequence item type.
    All Implemented Interfaces:
    Rearranger<T>, ru.ispras.testbase.knowledge.iterator.Iterator<java.util.List<T>>

    public final class RearrangerExpand<T>
    extends java.lang.Object
    implements Rearranger<T>
    The RearrangerExpand rearranger concatenates the sequences returned by the original iterator into a single sequence.
    • Constructor Detail

      • RearrangerExpand

        public RearrangerExpand()
    • Method Detail

      • initialize

        public void initialize​(ru.ispras.testbase.knowledge.iterator.Iterator<java.util.List<T>> original)
        Specified by:
        initialize in interface Rearranger<T>
      • init

        public void init()
        Specified by:
        init in interface ru.ispras.testbase.knowledge.iterator.Iterator<T>
      • hasValue

        public boolean hasValue()
        Specified by:
        hasValue in interface ru.ispras.testbase.knowledge.iterator.Iterator<T>
      • value

        public java.util.List<T> value()
        Specified by:
        value in interface ru.ispras.testbase.knowledge.iterator.Iterator<T>
      • next

        public void next()
        Specified by:
        next in interface ru.ispras.testbase.knowledge.iterator.Iterator<T>
      • stop

        public void stop()
        Specified by:
        stop in interface ru.ispras.testbase.knowledge.iterator.Iterator<T>
      • clone

        public RearrangerExpand<T> clone()
        Specified by:
        clone in interface ru.ispras.testbase.knowledge.iterator.Iterator<T>
        Overrides:
        clone in class java.lang.Object