Package | Description |
---|---|
propel.core.configuration | |
propel.core.userTypes | |
propel.core.utils | |
propel.core.validation.propertyMetadata |
Modifier and Type | Method and Description |
---|---|
static UnsignedInteger |
ConfigurableParameters.getUInt32(KeyValuePair<java.lang.String,UnsignedInteger> kvp)
Gets the value of a UInt32 key if it exists, otherwise returns the specified default value.
|
Modifier and Type | Method and Description |
---|---|
static UnsignedInteger |
ConfigurableParameters.getUInt32(KeyValuePair<java.lang.String,UnsignedInteger> kvp)
Gets the value of a UInt32 key if it exists, otherwise returns the specified default value.
|
Modifier and Type | Field and Description |
---|---|
static UnsignedInteger |
UnsignedInteger.MAX_VALUE |
static UnsignedInteger |
UnsignedInteger.MIN_VALUE |
Modifier and Type | Method and Description |
---|---|
int |
UnsignedInteger.compareTo(UnsignedInteger other) |
Constructor and Description |
---|
UnsignedInteger(UnsignedInteger other)
Initializes with another unsigned integer
|
Modifier and Type | Method and Description |
---|---|
static UnsignedInteger |
HashingUtils.bytesToUInt24(byte[] ba)
An efficient hashing algorithm with good distribution
|
static UnsignedInteger |
HashingUtils.bytesToUInt32(byte[] ba)
An efficient hashing algorithm with good distribution
|
static UnsignedInteger |
ConversionUtils.fromBase64ToUInt32(java.lang.String base64)
Converts a Base64 back to a uint.
|
static UnsignedInteger |
ConversionUtils.fromBinaryToUInt32(java.lang.String binary)
Converts a binary back to an uint.
|
static UnsignedInteger |
ConversionUtils.fromHexToUInt16(java.lang.String hex)
Converts a hex back to a ushort Hex representations can be endian dependent.
|
static UnsignedInteger |
ConversionUtils.fromHexToUInt32(java.lang.String hex)
Converts a hex back to a uint Hex representations can be endian dependent.
|
static UnsignedInteger |
ConversionUtils.fromStringToUInt32(java.lang.String value)
Converts a string back to a uint
|
static UnsignedInteger |
StringUtils.parseUInt32(java.lang.String value)
Parses a uint from a string
|
static UnsignedInteger |
StringUtils.parseUInt32(java.lang.String value,
UnsignedInteger minValue,
UnsignedInteger maxValue)
Parses a uint from a string
|
static UnsignedInteger |
HashingUtils.stringToUInt24(java.lang.String str)
An efficient hashing algorithm with good distribution
|
static UnsignedInteger |
HashingUtils.stringToUInt32(java.lang.String str)
An efficient hashing algorithm with good distribution
|
static UnsignedInteger |
ByteArrayUtils.toUInt32(byte[] value)
Inverse function of GetBytes(UnsignedInteger)
|
Modifier and Type | Method and Description |
---|---|
static TryResult<UnsignedInteger> |
StringUtils.tryParseUInt32(java.lang.String value)
Tries to parse the given value.
|
static TryResult<UnsignedInteger> |
StringUtils.tryParseUInt32(java.lang.String value,
UnsignedInteger minValue,
UnsignedInteger maxValue)
Tries to parse the given value.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
ByteArrayUtils.getBytes(UnsignedInteger value)
Similar to BitConverter.GetBytes() of .NET.
|
static UnsignedInteger |
StringUtils.parseUInt32(java.lang.String value,
UnsignedInteger minValue,
UnsignedInteger maxValue)
Parses a uint from a string
|
static java.lang.String |
ConversionUtils.toBase64(UnsignedInteger num)
Converts a number to Base64.
|
static java.lang.String |
ConversionUtils.toBinary(UnsignedInteger num)
Converts a number to binary, e.g.
|
static java.lang.String |
ConversionUtils.toBinary(UnsignedInteger num,
boolean padLeft)
Converts a number to binary, e.g.
|
static java.lang.String |
ConversionUtils.toHex(UnsignedInteger num)
Converts a number to hex, e.g.
|
static java.lang.String |
ConversionUtils.toHex(UnsignedInteger num,
boolean padLeft)
Converts a number to hex, e.g.
|
static TryResult<UnsignedInteger> |
StringUtils.tryParseUInt32(java.lang.String value,
UnsignedInteger minValue,
UnsignedInteger maxValue)
Tries to parse the given value.
|
Constructor and Description |
---|
UInt32PropertyMetadata(java.lang.String name,
UnsignedInteger minValue,
UnsignedInteger maxValue,
boolean notNull)
Constructor initializing with a min and a max value
|