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