Class AbstractBinaryOperatorNode

    • Constructor Detail

      • AbstractBinaryOperatorNode

        public AbstractBinaryOperatorNode​(AbstractNode leftOperand,
                                          AbstractNode rightOperand)
        Constructs a new binary operator node. Both operands should not be null.
        Parameters:
        leftOperand - the left operand
        rightOperand - the right operand
    • Method Detail

      • getLeftOperand

        public AbstractNode getLeftOperand()
        Returns:
        the left operand
      • getRightOperand

        public AbstractNode getRightOperand()
        Returns:
        the right operand
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object