public class ULong extends AbstractUnsignedInt implements ValueType:
Represents a 64-bit unsigned integer.
| Modifier and Type | Member | Description |
|---|---|---|
| public static const | MAX_VALUEMAX_VALUE as ULong = 18_446_744_073_709_551_615ul |
The greatest value representable by an ULong. |
| public static const | MIN_VALUEMIN_VALUE as ULong = 0ul |
The smallest value representable by an ULong. |
| Modifier and Type | Member | Description |
|---|---|---|
| public native | ULongULong() |
Builds the neutral ULong value (`0uL`). |
| public native | ULong | Builds a ULong from a Boolean value (`false` = 0, `true` = 1). |
| public native | ULong | Builds a ULong from a character code point. |
| public native | ULong | Builds a ULong from a Double value. |
| public native | ULong | Builds a ULong from a Float value. |
| public native | ULong | Builds a ULong from a signed 32-bit integer. |
| public native | ULong | Builds a ULong from a signed 64-bit integer. |
| public native | ULongULong(value: String) throws BadValueException |
Builds a ULong from a textual representation. |
| public native | ULong | Builds a ULong from an unsigned 32-bit integer. |
| public native | ULong | Builds a ULong from an unsigned 64-bit integer. |
| Modifier and Type | Member | Description |
|---|---|---|
| public static | parseparse( readonly value as String ) as ULong throws BadValueException: |
Parses an ULong value from text. |
| public native override | toStringtoString() as String |
Converts this value to its textual representation. |
| public static | tryParse | Parses an ULong value from text. |
| Modifier and Type | Member | Description |
|---|---|---|
| public native static | operator!=( readonly a as ULong, readonly b as ULong ) as Boolean | Tests whether two ULong values are different. |
| public native static | operator%( readonly a as ULong, readonly b as ULong ) as ULong | Computes the remainder of one ULong value divided by another. |
| public native static | operator%=( readonly a as ULong, readonly b as ULong ) as Void | Replaces `a` with the remainder of `a` divided by `b`. |
| public native static | operator*( readonly a as ULong, readonly b as ULong ) as ULong | Multiplies two ULong values. |
| public native static | operator**( readonly value as ULong, readonly power as UInt ) as ULong | Raises a ULong value to a power. |
| public native static | operator**=( readonly value as ULong, readonly power as UInt ) as Void | Replaces `value` with `value ** power`. |
| public native static | operator*=( readonly a as ULong, readonly b as ULong ) as Void | Multiplies `a` by `b` in place. |
| public native static | operator+( readonly a as ULong, readonly b as ULong ) as ULong | Adds two ULong values. |
| public native static | operator+=( readonly a as ULong, readonly b as ULong ) as Void | Adds `b` to `a` in place. |
| public native static | operator-( readonly a as ULong, readonly b as ULong ) as ULong | Subtracts one ULong value from another. |
| public native static | operator-=( readonly a as ULong, readonly b as ULong ) as Void | Subtracts `b` from `a` in place. |
| public native static | operator/( readonly a as ULong, readonly b as ULong ) as Double | Divides one ULong value by another. |
| public native static | operator//( readonly a as ULong, readonly b as ULong ) as ULong | Performs integer division on two ULong values. |
| public native static | operator//=( readonly a as ULong, readonly b as ULong ) as Void | Replaces `a` with the integer division of `a` by `b`. |
| public native static | operator<( readonly a as ULong, readonly b as ULong ) as Boolean | Tests whether `a` is strictly lower than `b`. |
| public native static | operator<=( readonly a as ULong, readonly b as ULong ) as Boolean | Tests whether `a` is lower than or equal to `b`. |
| public native static | operator==( readonly a as ULong, readonly b as ULong ) as Boolean | Tests whether two ULong values are equal. |
| public native static | operator>( readonly a as ULong, readonly b as ULong ) as Boolean | Tests whether `a` is strictly greater than `b`. |
| public native static | operator>=( readonly a as ULong, readonly b as ULong ) as Boolean | Tests whether `a` is greater than or equal to `b`. |