public final class UMath extends Object
Modifier and Type | Method and Description |
---|---|
static UByte |
max(UByte a,
UByte b)
Returns the greater of two
UByte values. |
static UInteger |
max(UInteger a,
UInteger b)
Returns the greater of two
UInteger values. |
static ULong |
max(ULong a,
ULong b)
Returns the greater of two
ULong values. |
static UShort |
max(UShort a,
UShort b)
Returns the greater of two
UShort values. |
static UByte |
min(UByte a,
UByte b)
Returns the smaller of two
UByte values. |
static UInteger |
min(UInteger a,
UInteger b)
Returns the smaller of two
UInteger values. |
static ULong |
min(ULong a,
ULong b)
Returns the smaller of two
ULong values. |
static UShort |
min(UShort a,
UShort b)
Returns the smaller of two
UShort values. |
public static UByte max(UByte a, UByte b)
UByte
values.a
- an argument.b
- another argument.a
and b
.public static UInteger max(UInteger a, UInteger b)
UInteger
values.a
- an argument.b
- another argument.a
and b
.public static ULong max(ULong a, ULong b)
ULong
values.a
- an argument.b
- another argument.a
and b
.public static UShort max(UShort a, UShort b)
UShort
values.a
- an argument.b
- another argument.a
and b
.public static UByte min(UByte a, UByte b)
UByte
values.a
- an argument.b
- another argument.a
and b
.public static UInteger min(UInteger a, UInteger b)
UInteger
values.a
- an argument.b
- another argument.a
and b
.public static ULong min(ULong a, ULong b)
ULong
values.a
- an argument.b
- another argument.a
and b
.Copyright © 2007–1969 The Apache Software Foundation. All rights reserved.