Class AbstractDiscreteFunctionBinaryOperation<X,​Y>

    • Method Detail

      • perform

        public DiscreteFunction<X,​Y> perform​(DiscreteFunction<X,​Y> left,
                                                   DiscreteFunction<X,​Y> right)
        Description copied from interface: BinaryFunction
        Has to be implemented to perform the actual operation. The order of operands might be important or not, depending, if the operation is commutative or not.
        Specified by:
        perform in interface BinaryFunction<X,​Y>
        Parameters:
        left - the left operand to be used in the operation
        right - the right operand to be used in the operation
        Returns:
        the result of the operation
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object