Package | Description |
---|---|
propel.core.userTypes | |
propel.core.utils |
Modifier and Type | Field and Description |
---|---|
static UnsignedShort |
UnsignedShort.MAX_VALUE |
static UnsignedShort |
UnsignedShort.MIN_VALUE |
Modifier and Type | Method and Description |
---|---|
int |
UnsignedShort.compareTo(UnsignedShort other) |
Constructor and Description |
---|
UnsignedShort(UnsignedShort other)
Initializes with another unsigned short
|
Modifier and Type | Method and Description |
---|---|
static UnsignedShort |
HashingUtils.bytesToUInt16(byte[] ba)
An efficient hashing algorithm with good distribution
|
static UnsignedShort |
ConversionUtils.fromBase64ToUInt16(java.lang.String base64)
Converts a Base64 back to a ushort.
|
static UnsignedShort |
ConversionUtils.fromBinaryToUInt16(java.lang.String binary)
Converts a binary back to a ushort.
|
static UnsignedShort |
ConversionUtils.fromStringToUInt16(java.lang.String value)
Converts a string back to a ushort
|
static UnsignedShort |
StringUtils.parseUInt16(java.lang.String value)
Parses a ushort from a string
|
static UnsignedShort |
StringUtils.parseUInt16(java.lang.String value,
UnsignedShort minValue,
UnsignedShort maxValue)
Parses a ushort from a string
|
static UnsignedShort |
HashingUtils.stringToUInt16(java.lang.String str)
An efficient hashing algorithm with good distribution
|
static UnsignedShort |
ByteArrayUtils.toUInt16(byte[] value)
Inverse function of GetBytes(UnsignedShort)
|
Modifier and Type | Method and Description |
---|---|
static TryResult<UnsignedShort> |
StringUtils.tryParseUInt16(java.lang.String value)
Tries to parse the given value.
|
static TryResult<UnsignedShort> |
StringUtils.tryParseUInt16(java.lang.String value,
UnsignedShort minValue,
UnsignedShort maxValue)
Tries to parse the given value.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
ByteArrayUtils.getBytes(UnsignedShort value)
Similar to BitConverter.GetBytes() of .NET.
|
static UnsignedShort |
StringUtils.parseUInt16(java.lang.String value,
UnsignedShort minValue,
UnsignedShort maxValue)
Parses a ushort from a string
|
static java.lang.String |
ConversionUtils.toBase64(UnsignedShort num)
Converts a number to Base64.
|
static java.lang.String |
ConversionUtils.toBinary(UnsignedShort num)
Converts a number to binary, e.g.
|
static java.lang.String |
ConversionUtils.toBinary(UnsignedShort num,
boolean padLeft)
Converts a number to binary, e.g.
|
static java.lang.String |
ConversionUtils.toHex(UnsignedShort num)
Converts a number to hex, e.g.
|
static java.lang.String |
ConversionUtils.toHex(UnsignedShort num,
boolean padLeft)
Converts a number to hex, e.g.
|
static TryResult<UnsignedShort> |
StringUtils.tryParseUInt16(java.lang.String value,
UnsignedShort minValue,
UnsignedShort maxValue)
Tries to parse the given value.
|