UShort
classin packageklyn
public class UShort extends AbstractUnsignedInt implements ValueType:
All Implemented Interfaces: ValueType
Represents a 16-bit unsigned integer.
Properties inherited from Object: type
Constructors
Modifier and Type Member Description
public native UShort Builds the neutral UShort value (`0`).
public native UShort
UShort(value: Double)
Builds an UShort from a Double value.
public native UShort
UShort(value: Float)
Builds an UShort from a Float value.
public native UShort
UShort(value: String) throws BadValueException
Builds an UShort from a textual representation.
Methods
Modifier and Type Member Description
public static parse
parse( readonly value as String ) as UShort throws BadValueException:
Parses an UShort value from text.
public override toString
toString() as String:
Converts this value to its textual representation.
public static tryParse
tryParse( readonly value as String, out result as UShort ) as Boolean:
Parses an UShort 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 UShort, readonly b as UShort ) as Boolean No summary.
public native static operator%( readonly a as UShort, readonly b as UShort ) as UShort No summary.
public native static operator%=( readonly a as UShort, readonly b as UShort ) as Void No summary.
public native static operator*( readonly a as UShort, readonly b as UShort ) as UShort No summary.
public native static operator**( readonly value as UShort, readonly power as UInt ) as UShort No summary.
public native static operator**=( readonly value as UShort, readonly power as UInt ) as Void No summary.
public native static operator*=( readonly a as UShort, readonly b as UShort ) as Void No summary.
public native static operator+( readonly a as UShort, readonly b as UShort ) as UShort Native arithmetic operators.
public native static operator+=( readonly a as UShort, readonly b as UShort ) as Void Native compound assignment operators.
public native static operator-( readonly a as UShort, readonly b as UShort ) as UShort No summary.
public native static operator-=( readonly a as UShort, readonly b as UShort ) as Void No summary.
public native static operator/( readonly a as UShort, readonly b as UShort ) as UShort No summary.
public native static operator//( readonly a as UShort, readonly b as UShort ) as UShort No summary.
public native static operator//=( readonly a as UShort, readonly b as UShort ) as Void No summary.
public native static operator/=( readonly a as UShort, readonly b as UShort ) as Void No summary.
public native static operator<( readonly a as UShort, readonly b as UShort ) as Boolean No summary.
public native static operator<=( readonly a as UShort, readonly b as UShort ) as Boolean No summary.
public native static operator==( readonly a as UShort, readonly b as UShort ) as Boolean Native comparison operators.
public native static operator>( readonly a as UShort, readonly b as UShort ) as Boolean No summary.
public native static operator>=( readonly a as UShort, readonly b as UShort ) as Boolean No summary.