unsigned byte type
| Modifier and Type | Field and Description |
|---|---|
| public static final UByte | MAX
A constant holding the maximum value an |
| public static final short | MAX_VALUE
A constant holding the maximum value an |
| public static final UByte | MIN
A constant holding the minimum value an |
| public static final short | MIN_VALUE
A constant holding the minimum value an |
| private static final long | serialVersionUID
Generated UID
|
| private final short | value
The value modelling the content of this |
| private static final UByte[] | VALUES
Cached values |
| Access | Constructor and Description |
|---|---|
| private | |
| private | |
| private | |
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public UByte | |
| public UByte | |
| public int | compareTo(UByte
the object to be compared. o)Implements java. |
| public double | doubleValue()
Implements abstract java. double.
|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public float | floatValue()
Implements abstract java. float.
|
| public int | |
| public int | intValue()
Implements abstract java. int.
|
| public long | longValue()
Implements abstract java. long.
|
| private static final UByte[] | |
| private static short | Returns: value if it is in rangeValue to check value)Throw exception if value out of range (short version) |
| private static short | Returns: value if it is in rangeValue to check value)Throw exception if value out of range (int version) |
| private static short | Returns: value if it is in rangeValue to check value)Throw exception if value out of range (long version) |
| private Object | Returns: cached instance of this object's valueReplace version read through deserialization with cached version. |
| public UByte | |
| public UByte | |
| public BigInteger | |
| public String | |
| public static UByte | |
| public static UByte | valueOf(byte value)
Get an instance of an |
| public static UByte | |
| public static UByte | |
| public static UByte | |
| private static UByte |
| MAX | back to summary |
|---|---|
| public static final UByte MAX A constant holding the maximum value an | |
| MAX_VALUE | back to summary |
|---|---|
| public static final short MAX_VALUE A constant holding the maximum value an | |
| MIN | back to summary |
|---|---|
| public static final UByte MIN A constant holding the minimum value an | |
| MIN_VALUE | back to summary |
|---|---|
| public static final short MIN_VALUE A constant holding the minimum value an | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides org. Generated UID | |
| value | back to summary |
|---|---|
| private final short value The value modelling the content of this | |
| VALUES | back to summary |
|---|---|
| private static final UByte[] VALUES Cached values | |
| UByte | back to summary |
|---|---|
| private UByte(long value) throws NumberFormatException Create an
| |
| UByte | back to summary |
|---|---|
| private UByte(int value) throws NumberFormatException Create an
| |
| UByte | back to summary |
|---|---|
| private UByte(short value) throws NumberFormatException Create an
| |
| UByte | back to summary |
|---|---|
| private UByte(byte value) Create an | |
| UByte | back to summary |
|---|---|
| private UByte(String value) throws NumberFormatException Create an
| |
| add | back to summary |
|---|---|
| public UByte add(UByte val) throws NumberFormatException | |
| add | back to summary |
|---|---|
| public UByte add(int val) throws NumberFormatException | |
| compareTo | back to summary |
|---|---|
| public int compareTo(UByte o) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that | |
| doubleValue | back to summary |
|---|---|
| public double doubleValue() Implements abstract java. Doc from java. Returns the value of the specified number as a
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| floatValue | back to summary |
|---|---|
| public float floatValue() Implements abstract java. Doc from java. Returns the value of the specified number as a
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| intValue | back to summary |
|---|---|
| public int intValue() Implements abstract java. Doc from java. Returns the value of the specified number as an
| |
| longValue | back to summary |
|---|---|
| public long longValue() Implements abstract java. Doc from java. Returns the value of the specified number as a
| |
| mkValues | back to summary |
|---|---|
| private static final UByte[] mkValues() Generate a cached value for each byte value.
| |
| rangeCheck | back to summary |
|---|---|
| private static short rangeCheck(short value) throws NumberFormatException Throw exception if value out of range (short version)
| |
| rangeCheck | back to summary |
|---|---|
| private static short rangeCheck(int value) throws NumberFormatException Throw exception if value out of range (int version)
| |
| rangeCheck | back to summary |
|---|---|
| private static short rangeCheck(long value) throws NumberFormatException Throw exception if value out of range (long version)
| |
| readResolve | back to summary |
|---|---|
| private Object readResolve() throws ObjectStreamException Replace version read through deserialization with cached version. Note
that this does not use the
| |
| subtract | back to summary |
|---|---|
| public UByte subtract(final UByte val) | |
| subtract | back to summary |
|---|---|
| public UByte subtract(final int val) | |
| toBigInteger | back to summary |
|---|---|
| public BigInteger toBigInteger() Overrides org. Doc from org. Get this number as a
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| valueOf | back to summary |
|---|---|
| public static UByte valueOf(String value) throws NumberFormatException Get an instance of an
| |
| valueOf | back to summary |
|---|---|
| public static UByte valueOf(byte value) Get an instance of an | |
| valueOf | back to summary |
|---|---|
| public static UByte valueOf(short value) throws NumberFormatException Get an instance of an
| |
| valueOf | back to summary |
|---|---|
| public static UByte valueOf(int value) throws NumberFormatException Get an instance of an
| |
| valueOf | back to summary |
|---|---|
| public static UByte valueOf(long value) throws NumberFormatException Get an instance of an
| |
| valueOfUnchecked | back to summary |
|---|---|
| private static UByte valueOfUnchecked(short value) throws NumberFormatException Get the value of a short without checking the value. | |