Interface PsyArithmetic<T extends PsyArithmetic>

    • Method Detail

      • psyMul

        T psyMul​(T oArithmetic)
        Returns a result of arithmetic multiplication of given object by this object.
        Parameters:
        oArithmetic - a given object.
        Returns:
        a product.
      • psyDiv

        T psyDiv​(T oArithmetic)
        Returns a result of arithmetic division of this object by given object.
        Parameters:
        oArithmetic - a given object.
        Returns:
        a fraction.
      • psyIsZero

        PsyBoolean psyIsZero()
        Returns a Ψ-boolean indicating whether this object represents a zero value.
        Returns:
        PsyBoolean.TRUE if this object represents a zero value, and PsyBoolean.FALSE otherwise.
      • psyNotZero

        default PsyBoolean psyNotZero()
        Returns a Ψ-boolean indicating whether this object represents a non-zero value.
        Returns:
        PsyBoolean.TRUE if this object represents a non-zero value, and PsyBoolean.FALSE otherwise.