Class Sequence


  • public class Sequence
    extends java.lang.Object
    Contains a sequence of operations. This is the final result of compiling the equation. Once created it can be invoked an arbitrary number of times by invoking perform().
    • Constructor Summary

      Constructors 
      Constructor Description
      Sequence()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addOperation​(Operation operation)  
      void perform()
      Executes the sequence of operations
      • Methods inherited from class java.lang.Object

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

      • Sequence

        public Sequence()
    • Method Detail

      • addOperation

        public void addOperation​(Operation operation)
      • perform

        public void perform()
        Executes the sequence of operations