Class ArithmeticOperators.Truncate

  • All Implemented Interfaces:
    Operator
    Enclosing class:
    ArithmeticOperators

    static class ArithmeticOperators.Truncate
    extends java.lang.Object
    implements Operator
    Implements the "truncate" operator.
    • Constructor Summary

      Constructors 
      Constructor Description
      Truncate()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(ExecutionContext context)
      Executes the operator.
      • Methods inherited from class java.lang.Object

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

      • Truncate

        Truncate()
    • Method Detail

      • execute

        public void execute​(ExecutionContext context)
        Description copied from interface: Operator
        Executes the operator. The method can inspect and manipulate the stack.
        Specified by:
        execute in interface Operator
        Parameters:
        context - the execution context