Class MultiplyImpl

    • Method Detail

      • evaluate

        public Object evaluate​(Object feature)
                        throws IllegalArgumentException
        Description copied from class: ExpressionAbstract
        Subclass should override, default implementation returns null.
        Specified by:
        evaluate in interface Expression
        Overrides:
        evaluate in class ExpressionAbstract
        Returns:
        default implementation returns null
        Throws:
        IllegalArgumentException
      • accept

        public Object accept​(ExpressionVisitor visitor,
                             Object extraData)
        Description copied from interface: Expression
        Accepts a visitor. Subclasses must implement with a method whose content is the following:
        return visitor.visit(this, extraData);
        Specified by:
        accept in interface Expression
      • equals

        public boolean equals​(Object obj)
        Compares this expression to the specified object. Returns true if the
        Overrides:
        equals in class Object
        Parameters:
        obj - - the object to compare this expression against.
        Returns:
        true if specified object is equal to this expression; false otherwise.
      • hashCode

        public int hashCode()
        Override of hashCode method.
        Overrides:
        hashCode in class Object
        Returns:
        a hash code value for this multiply expression.
      • toString

        public String toString()
        Overrides:
        toString in class Object