Qore jni Module
1.2.0
|
Java Hash class to make it easier to work with Qore hash data. More...
Inherits LinkedHashMap< String, Object >.
Public Member Methods | |
Hash () | |
Creates the object. | |
Hash (Map< String, Object > m) | |
Creates the object. | |
boolean | getBool (String key) |
Returns the given key as a boolean. More... | |
int | getByte (String key) |
Returns the given key as a byte. More... | |
char | getChar (String key) |
Returns the given key as a char. | |
short | getShort (String key) |
Returns the given key as a short. | |
int | getInt (String key) |
Returns the given key as an int. | |
long | getLong (String key) |
Returns the given key as a long. | |
float | getFloat (String key) |
Returns the given key as a float. | |
double | getDouble (String key) |
Returns the given key as a double. | |
String | getString (String key) |
Returns the given key as a String. | |
ArrayList< Object > | getList (String key) |
Returns the given key as an array. | |
ZonedDateTime | getADate (String key) |
Returns the given key as an absolute date/time value. | |
QoreRelativeTime | getRDate (String key) |
Returns the given key as a relative date/time value. | |
BigDecimal | getNumber (String key) |
Returns the given key as an arbitrary-precision numeric value. | |
byte[] | getBinary (String key) |
Returns the given key as a byte array. | |
Hash | getHash (String key) |
Returns the given key as a hash. | |
QoreClosureMarker | getCode (String key) |
Returns the given key as a callable value. | |
boolean | getAsBool (String key) |
Returns the given key as a boolean. More... | |
byte | getAsByte (String key) |
Returns the given key as a byte. More... | |
short | getAsShort (String key) |
Returns the given key as a short. More... | |
int | getAsInt (String key) |
Returns the given key as an int. More... | |
long | getAsLong (String key) |
Returns the given key as a long. More... | |
float | getAsFloat (String key) |
Returns the given key as a float. More... | |
double | getAsDouble (String key) |
Returns the given key as a double. More... | |
String | getAsString (String key) |
Returns the given key as a String. More... | |
Java Hash class to make it easier to work with Qore hash data.
|
inline |
Returns the given key as a boolean.
Converts the type of the value if possible before returning
|
inline |
Returns the given key as a byte.
Converts the type of the value if possible before returning
|
inline |
Returns the given key as a double.
Converts the type of the value if possible before returning
|
inline |
Returns the given key as a float.
Converts the type of the value if possible before returning
|
inline |
Returns the given key as an int.
Converts the type of the value if possible before returning
|
inline |
Returns the given key as a long.
Converts the type of the value if possible before returning
|
inline |
Returns the given key as a short.
Converts the type of the value if possible before returning
|
inline |
Returns the given key as a String.
Converts the type of the value if possible before returning
|
inline |
Returns the given key as a boolean.
|
inline |
Returns the given key as a byte.