Class BinaryExpression

    • Method Detail

      • hashCode

        public int hashCode()
        TODO: more efficient hashCode()
        Overrides:
        hashCode in class Object
      • getExpressionSymbol

        public abstract String getExpressionSymbol()
        Returns the symbol that represents this binary expression. For example, addition is represented by "+"
        Returns:
        expression symbol string
      • setRight

        public void setRight​(Expression expression)
        Parameters:
        expression - right Expression