| Modifier and Type | Field and Description |
|---|---|
| public static final int | MAX_VALUE
Maximum possible value. |
| public static final int | MIN_VALUE
Minimum possible value. |
| private final int |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte | |
| public int | Returns: 0 if equal, -ve or +ve if they are different.the object to be compared. _other)Implements java. Compare two UInt16s. |
| public double | |
| public boolean | equals(Object
the reference object with which to compare. _o)Overrides java. Test two UInt16s for equality. |
| public float | |
| public int | |
| public int | |
| public long | |
| public short | |
| public String |
| MAX_VALUE | back to summary |
|---|---|
| public static final int MAX_VALUE Maximum possible value. | |
| MIN_VALUE | back to summary |
|---|---|
| public static final int MIN_VALUE Minimum possible value. | |
| value | back to summary |
|---|---|
| private final int value | |
| UInt16 | back to summary |
|---|---|
| public UInt16(int _value) Create a UInt16 from an int.
| |
| UInt16 | back to summary |
|---|---|
| public UInt16(String _value) Create a UInt16 from a String.
| |
| byteValue | back to summary |
|---|---|
| public byte byteValue() Overrides java. The value of this as a byte.
| |
| compareTo | back to summary |
|---|---|
| public int compareTo(UInt16 _other) Implements java. Compare two UInt16s.
| |
| doubleValue | back to summary |
|---|---|
| public double doubleValue() Implements abstract java. The value of this as a double.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object _o) Overrides java. Test two UInt16s for equality.
| |
| floatValue | back to summary |
|---|---|
| public float floatValue() Implements abstract java. The value of this as a float.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this 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. The value of this as a int.
| |
| longValue | back to summary |
|---|---|
| public long longValue() Implements abstract java. The value of this as a long.
| |
| shortValue | back to summary |
|---|---|
| public short shortValue() Overrides java. The value of this as a short.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. The value of this as a string.
| |