ULong
class in package klyn

    public class ULong extends AbstractUnsignedInt implements ValueType:

Object
└ AbstractNumber
└ AbstractInt
└ AbstractUnsignedInt
└ ULong
All Implemented Interfaces: ValueType

Represents a 64-bit unsigned integer.

Fields

Modifier and Type | Member | Description
--- | --- | ---
public static const | MAX_VALUE `MAX_VALUE as ULong = 18_446_744_073_709_551_615ul` | The greatest value representable by an ULong.
public static const | MIN_VALUE `MIN_VALUE as ULong = 0ul` | The smallest value representable by an ULong.

Inherited Properties
property Inherited Properties from Object: type
Constructors

Modifier and Type | Member | Description
--- | --- | ---
public native | ULong `ULong()` | Builds the neutral ULong value (`0uL`).
public native | ULong `ULong(value: Boolean)` | Builds a ULong from a Boolean value (`false` = 0, `true` = 1).
public native | ULong `ULong(value: Char)` | Builds a ULong from a character code point.
public native | ULong `ULong(value: Double)` | Builds a ULong from a Double value.
public native | ULong `ULong(value: Float)` | Builds a ULong from a Float value.
public native | ULong `ULong(value: Int)` | Builds a ULong from a signed 32-bit integer.
public native | ULong `ULong(value: Long)` | Builds a ULong from a signed 64-bit integer.
public native | ULong `ULong(value: String) throws ValueException` | Builds a ULong from a textual representation.
public native | ULong `ULong(value: UInt)` | Builds a ULong from an unsigned 32-bit integer.
public native | ULong `ULong(value: ULong)` | Builds a ULong from an unsigned 64-bit integer.

Methods

Modifier and Type | Member | Description
--- | --- | ---
public static | parse `parse( readonly value as String ) as ULong throws ValueException:` | Parses an ULong value from text.
public native override | toString `toString() as String` | Converts this value to its textual representation.
public static | tryParse `tryParse( readonly value as String, out result as ULong ) as Boolean:` | Parses an ULong value from text.

Inherited Methods
method Inherited Methods from Object: deepCopy, fromJson, toDict, toJson, toString, toXml
Operators

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`.