Class MinusOperator

    • Constructor Detail

      • MinusOperator

        public MinusOperator​(Item operand1,
                             Item operand2)
    • Method Detail

      • operator

        public String operator()
        Description copied from class: BinaryOperator
        Returns the token that identifiers this Operator's operation. Used to uniquely identify the type of operation, and to aid serialization.
        Specified by:
        operator in class BinaryOperator
      • precedence

        public int precedence()
        Overrides:
        precedence in class Item
      • typeOrder

        public int typeOrder()
        Description copied from class: Item
        Returns the heterogeneous sort order of this Item. Used to impose a total order on the set of all items. When comparing two items of different types, the items order according to their typeOrder.
        Specified by:
        typeOrder in class Item
      • debug

        public void debug​(Output<?> output)
        Description copied from interface: Debug
        Writes a developer readable, debug-formatted string representation of this object to output.
        Specified by:
        debug in interface Debug
        Specified by:
        debug in class Item