unsigned short type
| Modifier and Type | Field and Description |
|---|---|
| public static final UShort | MAX
A constant holding the maximum value an |
| public static final int | MAX_VALUE
A constant holding the maximum value an |
| public static final UShort | MIN
A constant holding the minimum value an |
| public static final int | MIN_VALUE
A constant holding the minimum value an |
| private static final long | serialVersionUID
Generated UID
|
| private final int | value
The value modelling the content of this |
| Access | Constructor and Description |
|---|---|
| private | |
| private | UShort(short value)
Create an |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public UShort | |
| public UShort | |
| public int | compareTo(UShort
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 void | |
| public UShort | |
| public UShort | |
| public BigInteger | |
| public String | |
| public static UShort | |
| public static UShort | valueOf(short value)
Create an |
| public static UShort |
| MAX | back to summary |
|---|---|
| public static final UShort MAX A constant holding the maximum value an | |
| MAX_VALUE | back to summary |
|---|---|
| public static final int MAX_VALUE A constant holding the maximum value an | |
| MIN | back to summary |
|---|---|
| public static final UShort MIN A constant holding the minimum value an | |
| MIN_VALUE | back to summary |
|---|---|
| public static final int 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 int value The value modelling the content of this | |
| UShort | back to summary |
|---|---|
| private UShort(int value) throws NumberFormatException Create an
| |
| UShort | back to summary |
|---|---|
| private UShort(short value) Create an | |
| UShort | back to summary |
|---|---|
| private UShort(String value) throws NumberFormatException Create an
| |
| add | back to summary |
|---|---|
| public UShort add(UShort val) throws NumberFormatException | |
| add | back to summary |
|---|---|
| public UShort add(int val) throws NumberFormatException | |
| compareTo | back to summary |
|---|---|
| public int compareTo(UShort 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
| |
| rangeCheck | back to summary |
|---|---|
| private void rangeCheck() throws NumberFormatException | |
| subtract | back to summary |
|---|---|
| public UShort subtract(final UShort val) | |
| subtract | back to summary |
|---|---|
| public UShort 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 UShort valueOf(String value) throws NumberFormatException Create an
| |
| valueOf | back to summary |
|---|---|
| public static UShort valueOf(short value) Create an | |
| valueOf | back to summary |
|---|---|
| public static UShort valueOf(int value) throws NumberFormatException Create an
| |