Interface PsyScalar<T extends PsyScalar>

    • Method Detail

      • psyLt

        PsyBoolean psyLt​(T oScalar)
        Returns a Ψ-boolean object representing the result of “less” comparison of this object and a given object.
        Parameters:
        oScalar - an object with which this object is compared.
        Returns:
        a Ψ boolean value indicating if this object is less than given object.
      • psyLe

        PsyBoolean psyLe​(T oScalar)
        Returns a Ψ-boolean object representing the result of “less or equal” comparison of this object and a given object.
        Parameters:
        oScalar - an object with which this object is compared.
        Returns:
        a Ψ boolean value indicating if this object is less than or equal to given object.
      • psyGt

        PsyBoolean psyGt​(T oScalar)
        Returns a Ψ-boolean object representing the result of “greater” comparison of this object and a given object.
        Parameters:
        oScalar - an object with which this object is compared.
        Returns:
        a Ψ-boolean result of comparison.
      • psyGe

        PsyBoolean psyGe​(T oScalar)
        Returns a Ψ-boolean object representing the result of “greater or equal” comparison of this object and a given object.
        Parameters:
        oScalar - an object with which this object is compared.
        Returns:
        a Ψ-boolean result of comparison.
      • psyCmp

        PsyInteger psyCmp​(T oScalar)
        Compares this object against given object and returns a Ψ- integer indicating the result of the comparison. Returns negative value if this object is less than given one, zero if this object is equal to given one, and positive value if this object is greater than given one.
        Parameters:
        oScalar - an object with which this object is compared.
        Returns:
        a result of the comparison.
      • psyMin

        default PsyScalar psyMin​(T oScalar)
      • psyMax

        default PsyScalar psyMax​(T oScalar)