public class UShort extends AbstractUnsignedInt implements ValueType:
Represents a 16-bit unsigned integer.
| Modifier and Type | Member | Description |
|---|---|---|
| public static const | MAX_VALUEMAX_VALUE as UShort = 65_535 |
The greatest value representable by an UShort. |
| public static const | MIN_VALUEMIN_VALUE as UShort = 0 |
The smallest value representable by an UShort. |
| Modifier and Type | Member | Description |
|---|---|---|
| public native | UShortUShort() |
Builds the neutral UShort value (0). |
| public native | UShort | Builds a UShort from a Boolean value (false = 0, true = 1). |
| public native | UShort | Builds a UShort from a character code point. |
| public native | UShort | Builds a UShort from a Double value. |
| public native | UShort | Builds a UShort from a Float value. |
| public native | UShort | Builds a UShort from a signed 32-bit integer. |
| public native | UShort | Builds a UShort from a signed 64-bit integer. |
| public native | UShortUShort(value: String) throws BadValueException |
Builds a UShort from a textual representation. |
| public native | UShort | Builds a UShort from an unsigned 32-bit integer. |
| public native | UShort | Builds a UShort from an unsigned 64-bit integer. |
| Modifier and Type | Member | Description |
|---|---|---|
| public static | parseparse( readonly value as String ) as UShort throws BadValueException: |
Parses an UShort value from text. |
| public override | toStringtoString() as String: |
Converts this value to its textual representation. |
| public static | tryParse | Parses an UShort value from text. |