Long
classin packageklyn
public class Long extends AbstractSignedInt implements ValueType:
All Implemented Interfaces: ValueType
Represents a 64-bit signed integer.
Properties inherited from Object: type
Constructors
Modifier and Type Member Description
public native Long Builds the neutral Long value (`0L`).
public native Long
Long(value: Double)
Builds a Long from a Double value.
public native Long
Long(value: Float)
Builds a Long from a Float value.
public native Long
Long(value: String) throws BadValueException
Builds a Long from a textual representation.
Methods
Modifier and Type Member Description
public override toString
toString() as String:
Converts this value to its textual representation.
public static tryParse
tryParse( readonly value as String, out result as Long ) as Boolean:
Parses a Long value from text.
Methods inherited from Object: fromJson, toDict, toJson, toString, toXml
Operators
Modifier and Type Member Description
public native static operator!=( readonly a as Long, readonly b as Long ) as Boolean No summary.
public native static operator%( readonly a as Long, readonly b as Long ) as Long No summary.
public native static operator%=( readonly a as Long, readonly b as Long ) as Void No summary.
public native static operator*( readonly a as Long, readonly b as Long ) as Long No summary.
public native static operator**( readonly value as Long, readonly power as UInt ) as Long No summary.
public native static operator**=( readonly value as Long, readonly power as UInt ) as Void No summary.
public native static operator*=( readonly a as Long, readonly b as Long ) as Void No summary.
public native static operator+( readonly a as Long, readonly b as Long ) as Long Native arithmetic operators.
public native static operator+=( readonly a as Long, readonly b as Long ) as Void Native compound assignment operators.
public native static operator-( readonly a as Long, readonly b as Long ) as Long No summary.
public native static operator-=( readonly a as Long, readonly b as Long ) as Void No summary.
public native static operator/( readonly a as Long, readonly b as Long ) as Long No summary.
public native static operator//( readonly a as Long, readonly b as Long ) as Long No summary.
public native static operator//=( readonly a as Long, readonly b as Long ) as Void No summary.
public native static operator/=( readonly a as Long, readonly b as Long ) as Void No summary.
public native static operator<( readonly a as Long, readonly b as Long ) as Boolean No summary.
public native static operator<=( readonly a as Long, readonly b as Long ) as Boolean No summary.
public native static operator==( readonly a as Long, readonly b as Long ) as Boolean Native comparison operators.
public native static operator>( readonly a as Long, readonly b as Long ) as Boolean No summary.
public native static operator>=( readonly a as Long, readonly b as Long ) as Boolean No summary.