Class GeneratorCompositor<T>

  • All Implemented Interfaces:
    Generator<T>, ru.ispras.testbase.knowledge.iterator.Iterator<java.util.List<T>>

    public final class GeneratorCompositor<T>
    extends java.lang.Object
    implements Generator<T>
    GeneratorCompositor implements the test sequence generator.
    • Constructor Summary

      Constructors 
      Constructor Description
      GeneratorCompositor​(Combinator<java.util.List<T>> combinator, Compositor<T> compositor, java.util.List<ru.ispras.testbase.knowledge.iterator.Iterator<java.util.List<T>>> iterators)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ru.ispras.testbase.knowledge.iterator.Iterator<java.util.List<T>> clone()  
      boolean hasValue()  
      void init()  
      void next()  
      void stop()  
      java.util.List<T> value()  
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GeneratorCompositor

        public GeneratorCompositor​(Combinator<java.util.List<T>> combinator,
                                   Compositor<T> compositor,
                                   java.util.List<ru.ispras.testbase.knowledge.iterator.Iterator<java.util.List<T>>> iterators)
    • Method Detail

      • 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 ru.ispras.testbase.knowledge.iterator.Iterator<java.util.List<T>> clone()
        Specified by:
        clone in interface ru.ispras.testbase.knowledge.iterator.Iterator<T>
        Overrides:
        clone in class java.lang.Object