Class UMath


  • public final class UMath
    extends Object
    • Method Detail

      • max

        public static UByte max​(UByte a,
                                UByte b)
        Returns the greater of two UByte values.
        Parameters:
        a - an argument.
        b - another argument.
        Returns:
        the larger of a and b.
      • max

        public static UInteger max​(UInteger a,
                                   UInteger b)
        Returns the greater of two UInteger values.
        Parameters:
        a - an argument.
        b - another argument.
        Returns:
        the larger of a and b.
      • max

        public static ULong max​(ULong a,
                                ULong b)
        Returns the greater of two ULong values.
        Parameters:
        a - an argument.
        b - another argument.
        Returns:
        the larger of a and b.
      • max

        public static UShort max​(UShort a,
                                 UShort b)
        Returns the greater of two UShort values.
        Parameters:
        a - an argument.
        b - another argument.
        Returns:
        the larger of a and b.
      • min

        public static UByte min​(UByte a,
                                UByte b)
        Returns the smaller of two UByte values.
        Parameters:
        a - an argument.
        b - another argument.
        Returns:
        the larger of a and b.
      • min

        public static UInteger min​(UInteger a,
                                   UInteger b)
        Returns the smaller of two UInteger values.
        Parameters:
        a - an argument.
        b - another argument.
        Returns:
        the smaller of a and b.
      • min

        public static ULong min​(ULong a,
                                ULong b)
        Returns the smaller of two ULong values.
        Parameters:
        a - an argument.
        b - another argument.
        Returns:
        the smaller of a and b.
      • min

        public static UShort min​(UShort a,
                                 UShort b)
        Returns the smaller of two UShort values.
        Parameters:
        a - an argument.
        b - another argument.
        Returns:
        the smaller of a and b.