Package org.refcodes.structure
Interface PropertiesAccessorMixin
-
- All Superinterfaces:
Keys<java.lang.String,java.lang.String>
- All Known Subinterfaces:
CanonicalMap
,CanonicalMap.CanonicalMapBuilder
,CanonicalMap.MutableCanonicalMap
,PropertiesAccessorMixin.PropertiesBuilderMixin<T>
,PropertiesAccessorMixin.PropertiesMixin
- All Known Implementing Classes:
CanonicalMapBuilderImpl
,CanonicalMapImpl
public interface PropertiesAccessorMixin extends Keys<java.lang.String,java.lang.String>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
PropertiesAccessorMixin.PropertiesBuilderMixin<T>
static interface
PropertiesAccessorMixin.PropertiesMixin
Mixin with lots of accessing and mutating default methods forString
key/valueMap
orDictionary
implementations.static interface
PropertiesAccessorMixin.PropertiesMutatorMixin
-
Nested classes/interfaces inherited from interface org.refcodes.structure.Keys
Keys.MutableKeys<K,V>, Keys.MutableValues<K,V>
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.lang.String[]
asArray(java.lang.Enum<?> aKey)
Same asasArray(String, char)
using a comma (',') as delimiter.default java.lang.String[]
asArray(java.lang.Enum<?> aKey, char aDelimiter)
Treats the value associated with the given key as an array with its elements being the elements of the value separated by the given delimiter char.default java.lang.String[]
asArray(java.lang.Object aKey)
Same asasArray(String, char)
using a comma (',') as delimiter.default java.lang.String[]
asArray(java.lang.Object aKey, char aDelimiter)
Treats the value associated with the given key as an array with its elements being the elements of the value separated by the given delimiter char.default java.lang.String[]
asArray(java.lang.String aKey)
Same asasArray(String, char)
using a comma (',') as delimiter.default java.lang.String[]
asArray(java.lang.String aKey, char aDelimiter)
Treats the value associated with the given key as an array with its elements being the elements of the value separated by the given delimiter char.default boolean[]
asBooleanArray(java.lang.Enum<?> aKey)
Same asasBooleanArray(String, char)
using a comma (',') as delimiter.default boolean[]
asBooleanArray(java.lang.Enum<?> aKey, char aDelimiter)
Treats the value associated with the given key as a boolean array with its elements being the elements of the value separated by the given delimiter char.default boolean[]
asBooleanArray(java.lang.Object aKey)
Same asasBooleanArray(String, char)
using a comma (',') as delimiter.default boolean[]
asBooleanArray(java.lang.Object aKey, char aDelimiter)
Treats the value associated with the given key as a boolean array with its elements being the elements of the value separated by the given delimiter char.default boolean[]
asBooleanArray(java.lang.String aKey)
Same asasBooleanArray(String, char)
using a comma (',') as delimiter.default boolean[]
asBooleanArray(java.lang.String aKey, char aDelimiter)
Treats the value associated with the given key as a boolean array with its elements being the elements of the value separated by the given delimiter char.default byte[]
asByteArray(java.lang.Enum<?> aKey)
Same asasByteArray(String, char)
using a comma (',') as delimiter.default byte[]
asByteArray(java.lang.Enum<?> aKey, char aDelimiter)
Treats the value associated with the given key as a byte array with its elements being the elements of the value separated by the given delimiter char.default byte[]
asByteArray(java.lang.Object aKey)
Same asasByteArray(String, char)
using a comma (',') as delimiter.default byte[]
asByteArray(java.lang.Object aKey, char aDelimiter)
Treats the value associated with the given key as a byte array with its elements being the elements of the value separated by the given delimiter char.default byte[]
asByteArray(java.lang.String aKey)
Same asasByteArray(String, char)
using a comma (',') as delimiter.default byte[]
asByteArray(java.lang.String aKey, char aDelimiter)
Treats the value associated with the given key as a byte array with its elements being the elements of the value separated by the given delimiter char.default char[]
asCharacterArray(java.lang.Enum<?> aKey)
Same asasCharacterArray(String, char)
using a comma (',') as delimiter.default char[]
asCharacterArray(java.lang.Enum<?> aKey, char aDelimiter)
Treats the value associated with the given key as a char array with its elements being the elements of the value separated by the given delimiter char.default char[]
asCharacterArray(java.lang.Object aKey)
Same asasCharacterArray(String, char)
using a comma (',') as delimiter.default char[]
asCharacterArray(java.lang.Object aKey, char aDelimiter)
Treats the value associated with the given key as a char array with its elements being the elements of the value separated by the given delimiter char.default char[]
asCharacterArray(java.lang.String aKey)
Same asasCharacterArray(String, char)
using a comma (',') as delimiter.default char[]
asCharacterArray(java.lang.String aKey, char aDelimiter)
Treats the value associated with the given key as a char array with its elements being the elements of the value separated by the given delimiter char.default double[]
asDoubleArray(java.lang.Enum<?> aKey)
Same asasDoubleArray(String, char)
using a comma (',') as delimiter.default double[]
asDoubleArray(java.lang.Enum<?> aKey, char aDelimiter)
Treats the value associated with the given key as a double array with its elements being the elements of the value separated by the given delimiter double.default double[]
asDoubleArray(java.lang.Object aKey)
Same asasDoubleArray(String, char)
using a comma (',') as delimiter.default double[]
asDoubleArray(java.lang.Object aKey, char aDelimiter)
Treats the value associated with the given key as a double array with its elements being the elements of the value separated by the given delimiter double.default double[]
asDoubleArray(java.lang.String aKey)
Same asasDoubleArray(String, char)
using a comma (',') as delimiter.default double[]
asDoubleArray(java.lang.String aKey, char aDelimiter)
Treats the value associated with the given key as a double array with its elements being the elements of the value separated by the given delimiter double.default float[]
asFloatArray(java.lang.Enum<?> aKey)
Same asasFloatArray(String, char)
using a comma (',') as delimiter.default float[]
asFloatArray(java.lang.Enum<?> aKey, char aDelimiter)
Treats the value associated with the given key as a float array with its elements being the elements of the value separated by the given delimiter float.default float[]
asFloatArray(java.lang.Object aKey)
Same asasFloatArray(String, char)
using a comma (',') as delimiter.default float[]
asFloatArray(java.lang.Object aKey, char aDelimiter)
Treats the value associated with the given key as a float array with its elements being the elements of the value separated by the given delimiter float.default float[]
asFloatArray(java.lang.String aKey)
Same asasFloatArray(String, char)
using a comma (',') as delimiter.default float[]
asFloatArray(java.lang.String aKey, char aDelimiter)
Treats the value associated with the given key as a float array with its elements being the elements of the value separated by the given delimiter float.default int[]
asIntegerArray(java.lang.Enum<?> aKey)
Same asasIntegerArray(String, char)
using a comma (',') as delimiter.default int[]
asIntegerArray(java.lang.Enum<?> aKey, char aDelimiter)
Treats the value associated with the given key as a int array with its elements being the elements of the value separated by the given delimiter char.default int[]
asIntegerArray(java.lang.Object aKey)
Same asasIntegerArray(String, char)
using a comma (',') as delimiter.default int[]
asIntegerArray(java.lang.Object aKey, char aDelimiter)
Treats the value associated with the given key as a integer array with its elements being the elements of the value separated by the given delimiter char.default int[]
asIntegerArray(java.lang.String aKey)
Same asasIntegerArray(String, char)
using a comma (',') as delimiter.default int[]
asIntegerArray(java.lang.String aKey, char aDelimiter)
Treats the value associated with the given key as a integer array with its elements being the elements of the value separated by the given delimiter char.default long[]
asLongArray(java.lang.Enum<?> aKey)
Same asasLongArray(String, char)
using a comma (',') as delimiter.default long[]
asLongArray(java.lang.Enum<?> aKey, char aDelimiter)
Treats the value associated with the given key as a long array with its elements being the elements of the value separated by the given delimiter char.default long[]
asLongArray(java.lang.Object aKey)
Same asasLongArray(String, char)
using a comma (',') as delimiter.default long[]
asLongArray(java.lang.Object aKey, char aDelimiter)
Treats the value associated with the given key as a longeger array with its elements being the elements of the value separated by the given delimiter char.default long[]
asLongArray(java.lang.String aKey)
Same asasLongArray(String, char)
using a comma (',') as delimiter.default long[]
asLongArray(java.lang.String aKey, char aDelimiter)
Treats the value associated with the given key as a longeger array with its elements being the elements of the value separated by the given delimiter char.default short[]
asShortArray(java.lang.Enum<?> aKey)
Same asasShortArray(String, char)
using a comma (',') as delimiter.default short[]
asShortArray(java.lang.Enum<?> aKey, char aDelimiter)
Treats the value associated with the given key as a short array with its elements being the elements of the value separated by the given delimiter char.default short[]
asShortArray(java.lang.Object aKey)
Same asasShortArray(String, char)
using a comma (',') as delimiter.default short[]
asShortArray(java.lang.Object aKey, char aDelimiter)
Treats the value associated with the given key as a shorteger array with its elements being the elements of the value separated by the given delimiter char.default short[]
asShortArray(java.lang.String aKey)
Same asasShortArray(String, char)
using a comma (',') as delimiter.default short[]
asShortArray(java.lang.String aKey, char aDelimiter)
Treats the value associated with the given key as a shorteger array with its elements being the elements of the value separated by the given delimiter char.default boolean
containsKey(java.lang.Enum<?> aKey)
Tests whether there is an element with the given key.default java.lang.String
get(java.lang.Enum<?> aKey)
Retrieves the element assigned to the given key.default java.lang.Boolean
getBoolean(java.lang.Enum<?> aKey)
Returns theBoolean
value of the property referred to by the key.default java.lang.Boolean
getBoolean(java.lang.Object aKey)
Returns theBoolean
value of the property referred to by the key.default java.lang.Boolean
getBoolean(java.lang.String aKey)
Returns theBoolean
value of the property referred to by the key.default java.lang.Byte
getByte(java.lang.Enum<?> aKey)
Returns theByte
value of the property referred to by the key.default java.lang.Byte
getByte(java.lang.Object aKey)
Returns theByte
value of the property referred to by the key.default java.lang.Byte
getByte(java.lang.String aKey)
Returns theByte
value of the property referred to by the key.default java.lang.Character
getCharacter(java.lang.Enum<?> aKey)
Retrieves theCharacter
assigned to the given key.default java.lang.Character
getCharacter(java.lang.Object aKey)
Returns theCharacter
value of the property referred to by the key.default java.lang.Character
getCharacter(java.lang.String aKey)
Returns theCharacter
value of the property referred to by the key.default java.lang.Double
getDouble(java.lang.Enum<?> aKey)
Returns theDouble
value of the property referred to by the key.default java.lang.Double
getDouble(java.lang.Object aKey)
Returns theDouble
value of the property referred to by the key.default java.lang.Double
getDouble(java.lang.String aKey)
Returns theDouble
value of the property referred to by the key.default java.lang.Float
getFloat(java.lang.Enum<?> aKey)
Returns theFloat
value of the property referred to by the key.default java.lang.Float
getFloat(java.lang.Object aKey)
Returns theFloat
value of the property referred to by the key.default java.lang.Float
getFloat(java.lang.String aKey)
Returns theFloat
value of the property referred to by the key.default java.lang.Integer
getInteger(java.lang.Enum<?> aKey)
Returns theInteger
value of the property referred to by the key.default java.lang.Integer
getInteger(java.lang.Object aKey)
Returns theInteger
value of the property referred to by the key.default java.lang.Integer
getInteger(java.lang.String aKey)
Returns theInteger
value of the property referred to by the key.default java.lang.Long
getLong(java.lang.Enum<?> aKey)
Returns theLong
value of the property referred to by the key.default java.lang.Long
getLong(java.lang.Object aKey)
Returns theLong
value of the property referred to by the key.default java.lang.Long
getLong(java.lang.String aKey)
Returns theLong
value of the property referred to by the key.default java.lang.Short
getShort(java.lang.Enum<?> aKey)
Returns theShort
value of the property referred to by the key.default java.lang.Short
getShort(java.lang.Object aKey)
Returns theShort
value of the property referred to by the key.default java.lang.Short
getShort(java.lang.String aKey)
Returns theShort
value of the property referred to by the key.default java.lang.String
use(java.lang.Enum<?> aKey)
Retrieves the element assigned to the given key.default java.lang.Boolean
useBoolean(java.lang.Enum<?> aKey)
Returns theBoolean
value of the property referred to by the key.default java.lang.Boolean
useBoolean(java.lang.String aKey)
Returns theBoolean
value of the property referred to by the key.default java.lang.Byte
useByte(java.lang.Enum<?> aKey)
Returns theByte
value of the property referred to by the key.default java.lang.Byte
useByte(java.lang.String aKey)
Returns theByte
value of the property referred to by the key.default java.lang.Double
useDouble(java.lang.Enum<?> aKey)
Returns theDouble
value of the property referred to by the key.default java.lang.Double
useDouble(java.lang.String aKey)
Returns theDouble
value of the property referred to by the key.default java.lang.Float
useFloat(java.lang.Enum<?> aKey)
Returns theFloat
value of the property referred to by the key.default java.lang.Float
useFloat(java.lang.String aKey)
Returns theFloat
value of the property referred to by the key.default java.lang.Integer
useInteger(java.lang.Enum<?> aKey)
Returns theInteger
value of the property referred to by the key.default java.lang.Integer
useInteger(java.lang.String aKey)
Returns theInteger
value of the property referred to by the key.default java.lang.Long
useLong(java.lang.Enum<?> aKey)
Returns theLong
value of the property referred to by the key.default java.lang.Long
useLong(java.lang.String aKey)
Returns theLong
value of the property referred to by the key.default java.lang.Short
useShort(java.lang.Enum<?> aKey)
Returns theShort
value of the property referred to by the key.default java.lang.Short
useShort(java.lang.String aKey)
Returns theShort
value of the property referred to by the key.-
Methods inherited from interface org.refcodes.structure.Keys
containsKey, containsValue, get, keySet, use, values
-
-
-
-
Method Detail
-
asArray
default java.lang.String[] asArray(java.lang.Enum<?> aKey)
Same asasArray(String, char)
using a comma (',') as delimiter.- Parameters:
aKey
- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
-
asArray
default java.lang.String[] asArray(java.lang.Enum<?> aKey, char aDelimiter)
Treats the value associated with the given key as an array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "1, 2, 3, 4, 5", then the corresponding array, when using the comma (',') char as delimiter, will be { "1", "2", "3", "4", "5" }.- Parameters:
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of the future array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
-
asArray
default java.lang.String[] asArray(java.lang.Object aKey)
Same asasArray(String, char)
using a comma (',') as delimiter.- Parameters:
aKey
- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
-
asArray
default java.lang.String[] asArray(java.lang.Object aKey, char aDelimiter)
Treats the value associated with the given key as an array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "1, 2, 3, 4, 5", then the corresponding array, when using the comma (',') char as delimiter, will be { "1", "2", "3", "4", "5" }.- Parameters:
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of the future array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
-
asArray
default java.lang.String[] asArray(java.lang.String aKey)
Same asasArray(String, char)
using a comma (',') as delimiter.- Parameters:
aKey
- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
-
asArray
default java.lang.String[] asArray(java.lang.String aKey, char aDelimiter)
Treats the value associated with the given key as an array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "1, 2, 3, 4, 5", then the corresponding array, when using the comma (',') char as delimiter, will be { "1", "2", "3", "4", "5" }.- Parameters:
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of the future array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
-
asBooleanArray
default boolean[] asBooleanArray(java.lang.Enum<?> aKey) throws java.lang.NumberFormatException
Same asasBooleanArray(String, char)
using a comma (',') as delimiter.- Parameters:
aKey
- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
-
asBooleanArray
default boolean[] asBooleanArray(java.lang.Enum<?> aKey, char aDelimiter) throws java.lang.NumberFormatException
Treats the value associated with the given key as a boolean array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.- Parameters:
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of the future array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
asBooleanArray
default boolean[] asBooleanArray(java.lang.Object aKey) throws java.lang.NumberFormatException
Same asasBooleanArray(String, char)
using a comma (',') as delimiter.- Parameters:
aKey
- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
-
asBooleanArray
default boolean[] asBooleanArray(java.lang.Object aKey, char aDelimiter) throws java.lang.NumberFormatException
Treats the value associated with the given key as a boolean array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.- Parameters:
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of the future array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
asBooleanArray
default boolean[] asBooleanArray(java.lang.String aKey) throws java.lang.NumberFormatException
Same asasBooleanArray(String, char)
using a comma (',') as delimiter.- Parameters:
aKey
- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
-
asBooleanArray
default boolean[] asBooleanArray(java.lang.String aKey, char aDelimiter) throws java.lang.NumberFormatException
Treats the value associated with the given key as a boolean array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.- Parameters:
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of the future array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
asByteArray
default byte[] asByteArray(java.lang.Enum<?> aKey) throws java.lang.NumberFormatException
Same asasByteArray(String, char)
using a comma (',') as delimiter.- Parameters:
aKey
- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
-
asByteArray
default byte[] asByteArray(java.lang.Enum<?> aKey, char aDelimiter) throws java.lang.NumberFormatException
Treats the value associated with the given key as a byte array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.- Parameters:
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of the future array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
asByteArray
default byte[] asByteArray(java.lang.Object aKey) throws java.lang.NumberFormatException
Same asasByteArray(String, char)
using a comma (',') as delimiter.- Parameters:
aKey
- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
-
asByteArray
default byte[] asByteArray(java.lang.Object aKey, char aDelimiter) throws java.lang.NumberFormatException
Treats the value associated with the given key as a byte array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.- Parameters:
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of the future array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
asByteArray
default byte[] asByteArray(java.lang.String aKey) throws java.lang.NumberFormatException
Same asasByteArray(String, char)
using a comma (',') as delimiter.- Parameters:
aKey
- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
-
asByteArray
default byte[] asByteArray(java.lang.String aKey, char aDelimiter) throws java.lang.NumberFormatException
Treats the value associated with the given key as a byte array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.- Parameters:
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of the future array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
asCharacterArray
default char[] asCharacterArray(java.lang.Enum<?> aKey) throws java.lang.NumberFormatException
Same asasCharacterArray(String, char)
using a comma (',') as delimiter.- Parameters:
aKey
- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
-
asCharacterArray
default char[] asCharacterArray(java.lang.Enum<?> aKey, char aDelimiter) throws java.lang.NumberFormatException
Treats the value associated with the given key as a char array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.- Parameters:
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of the future array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
asCharacterArray
default char[] asCharacterArray(java.lang.Object aKey) throws java.lang.NumberFormatException
Same asasCharacterArray(String, char)
using a comma (',') as delimiter.- Parameters:
aKey
- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
-
asCharacterArray
default char[] asCharacterArray(java.lang.Object aKey, char aDelimiter) throws java.lang.NumberFormatException
Treats the value associated with the given key as a char array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.- Parameters:
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of the future array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
asCharacterArray
default char[] asCharacterArray(java.lang.String aKey) throws java.lang.NumberFormatException
Same asasCharacterArray(String, char)
using a comma (',') as delimiter.- Parameters:
aKey
- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
-
asCharacterArray
default char[] asCharacterArray(java.lang.String aKey, char aDelimiter) throws java.lang.NumberFormatException
Treats the value associated with the given key as a char array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.- Parameters:
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of the future array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
asDoubleArray
default double[] asDoubleArray(java.lang.Enum<?> aKey) throws java.lang.NumberFormatException
Same asasDoubleArray(String, char)
using a comma (',') as delimiter.- Parameters:
aKey
- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
-
asDoubleArray
default double[] asDoubleArray(java.lang.Enum<?> aKey, char aDelimiter) throws java.lang.NumberFormatException
Treats the value associated with the given key as a double array with its elements being the elements of the value separated by the given delimiter double. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') double as delimiter, will be { true, false, true, false, true }.- Parameters:
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of the future array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
asDoubleArray
default double[] asDoubleArray(java.lang.Object aKey) throws java.lang.NumberFormatException
Same asasDoubleArray(String, char)
using a comma (',') as delimiter.- Parameters:
aKey
- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
-
asDoubleArray
default double[] asDoubleArray(java.lang.Object aKey, char aDelimiter) throws java.lang.NumberFormatException
Treats the value associated with the given key as a double array with its elements being the elements of the value separated by the given delimiter double. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') double as delimiter, will be { true, false, true, false, true }.- Parameters:
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of the future array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
asDoubleArray
default double[] asDoubleArray(java.lang.String aKey) throws java.lang.NumberFormatException
Same asasDoubleArray(String, char)
using a comma (',') as delimiter.- Parameters:
aKey
- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
-
asDoubleArray
default double[] asDoubleArray(java.lang.String aKey, char aDelimiter) throws java.lang.NumberFormatException
Treats the value associated with the given key as a double array with its elements being the elements of the value separated by the given delimiter double. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') double as delimiter, will be { true, false, true, false, true }.- Parameters:
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of the future array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
asFloatArray
default float[] asFloatArray(java.lang.Enum<?> aKey) throws java.lang.NumberFormatException
Same asasFloatArray(String, char)
using a comma (',') as delimiter.- Parameters:
aKey
- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
-
asFloatArray
default float[] asFloatArray(java.lang.Enum<?> aKey, char aDelimiter) throws java.lang.NumberFormatException
Treats the value associated with the given key as a float array with its elements being the elements of the value separated by the given delimiter float. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') float as delimiter, will be { true, false, true, false, true }.- Parameters:
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of the future array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
asFloatArray
default float[] asFloatArray(java.lang.Object aKey) throws java.lang.NumberFormatException
Same asasFloatArray(String, char)
using a comma (',') as delimiter.- Parameters:
aKey
- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
-
asFloatArray
default float[] asFloatArray(java.lang.Object aKey, char aDelimiter) throws java.lang.NumberFormatException
Treats the value associated with the given key as a float array with its elements being the elements of the value separated by the given delimiter float. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') float as delimiter, will be { true, false, true, false, true }.- Parameters:
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of the future array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
asFloatArray
default float[] asFloatArray(java.lang.String aKey) throws java.lang.NumberFormatException
Same asasFloatArray(String, char)
using a comma (',') as delimiter.- Parameters:
aKey
- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
-
asFloatArray
default float[] asFloatArray(java.lang.String aKey, char aDelimiter) throws java.lang.NumberFormatException
Treats the value associated with the given key as a float array with its elements being the elements of the value separated by the given delimiter float. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') float as delimiter, will be { true, false, true, false, true }.- Parameters:
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of the future array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
asIntegerArray
default int[] asIntegerArray(java.lang.Enum<?> aKey) throws java.lang.NumberFormatException
Same asasIntegerArray(String, char)
using a comma (',') as delimiter.- Parameters:
aKey
- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
-
asIntegerArray
default int[] asIntegerArray(java.lang.Enum<?> aKey, char aDelimiter) throws java.lang.NumberFormatException
Treats the value associated with the given key as a int array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.- Parameters:
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of the future array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
asIntegerArray
default int[] asIntegerArray(java.lang.Object aKey) throws java.lang.NumberFormatException
Same asasIntegerArray(String, char)
using a comma (',') as delimiter.- Parameters:
aKey
- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
-
asIntegerArray
default int[] asIntegerArray(java.lang.Object aKey, char aDelimiter) throws java.lang.NumberFormatException
Treats the value associated with the given key as a integer array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.- Parameters:
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of the future array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
asIntegerArray
default int[] asIntegerArray(java.lang.String aKey) throws java.lang.NumberFormatException
Same asasIntegerArray(String, char)
using a comma (',') as delimiter.- Parameters:
aKey
- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
-
asIntegerArray
default int[] asIntegerArray(java.lang.String aKey, char aDelimiter) throws java.lang.NumberFormatException
Treats the value associated with the given key as a integer array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.- Parameters:
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of the future array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
asLongArray
default long[] asLongArray(java.lang.Enum<?> aKey) throws java.lang.NumberFormatException
Same asasLongArray(String, char)
using a comma (',') as delimiter.- Parameters:
aKey
- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
-
asLongArray
default long[] asLongArray(java.lang.Enum<?> aKey, char aDelimiter) throws java.lang.NumberFormatException
Treats the value associated with the given key as a long array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.- Parameters:
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of the future array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
asLongArray
default long[] asLongArray(java.lang.Object aKey) throws java.lang.NumberFormatException
Same asasLongArray(String, char)
using a comma (',') as delimiter.- Parameters:
aKey
- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
-
asLongArray
default long[] asLongArray(java.lang.Object aKey, char aDelimiter) throws java.lang.NumberFormatException
Treats the value associated with the given key as a longeger array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.- Parameters:
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of the future array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
asLongArray
default long[] asLongArray(java.lang.String aKey) throws java.lang.NumberFormatException
Same asasLongArray(String, char)
using a comma (',') as delimiter.- Parameters:
aKey
- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
-
asLongArray
default long[] asLongArray(java.lang.String aKey, char aDelimiter) throws java.lang.NumberFormatException
Treats the value associated with the given key as a longeger array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.- Parameters:
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of the future array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
asShortArray
default short[] asShortArray(java.lang.Enum<?> aKey) throws java.lang.NumberFormatException
Same asasShortArray(String, char)
using a comma (',') as delimiter.- Parameters:
aKey
- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
-
asShortArray
default short[] asShortArray(java.lang.Enum<?> aKey, char aDelimiter) throws java.lang.NumberFormatException
Treats the value associated with the given key as a short array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.- Parameters:
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of the future array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
asShortArray
default short[] asShortArray(java.lang.Object aKey) throws java.lang.NumberFormatException
Same asasShortArray(String, char)
using a comma (',') as delimiter.- Parameters:
aKey
- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
-
asShortArray
default short[] asShortArray(java.lang.Object aKey, char aDelimiter) throws java.lang.NumberFormatException
Treats the value associated with the given key as a shorteger array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.- Parameters:
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of the future array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
asShortArray
default short[] asShortArray(java.lang.String aKey) throws java.lang.NumberFormatException
Same asasShortArray(String, char)
using a comma (',') as delimiter.- Parameters:
aKey
- The key, which's value is to be converted to an array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
-
asShortArray
default short[] asShortArray(java.lang.String aKey, char aDelimiter) throws java.lang.NumberFormatException
Treats the value associated with the given key as a shorteger array with its elements being the elements of the value separated by the given delimiter char. Let the value associated to the given key be "true, false, true, false, true", then the corresponding array, when using the comma (',') char as delimiter, will be { true, false, true, false, true }.- Parameters:
aKey
- The key, which's value is to be converted to an array.aDelimiter
- The delimiter to be used to identify the elements of the future array.- Returns:
- The according array or null if no (or a null) value has been associated to the key.
- Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
containsKey
default boolean containsKey(java.lang.Enum<?> aKey)
Tests whether there is an element with the given key. As the key passed is an enumeration, theEnum.toString()
method is used on the enumeration to resolve the enumeration to a {link String} key.- Parameters:
aKey
- The key for which to test whether there is an element.- Returns:
- True in case there is an element for the given key.
-
get
default java.lang.String get(java.lang.Enum<?> aKey)
Retrieves the element assigned to the given key. As the key passed is an enumeration, theEnum.toString()
method is used on the enumeration to resolve the enumeration to a {link String} key.- Parameters:
aKey
- The key for which to get the element.- Returns:
- The column in question or null if there is none such column.
-
getBoolean
default java.lang.Boolean getBoolean(java.lang.Enum<?> aKey) throws java.lang.NumberFormatException
Returns theBoolean
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly. As the key passed is an enumeration, theEnum.toString()
method is used on the enumeration to resolve the enumeration to a {link String} key.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Boolean
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
getBoolean
default java.lang.Boolean getBoolean(java.lang.Object aKey) throws java.lang.NumberFormatException
Returns theBoolean
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Boolean
representation of the key'sString
value of false if there is no such key. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
getBoolean
default java.lang.Boolean getBoolean(java.lang.String aKey) throws java.lang.NumberFormatException
Returns theBoolean
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Boolean
representation of the key'sString
value of false if there is no such key. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
getByte
default java.lang.Byte getByte(java.lang.Enum<?> aKey) throws java.lang.NumberFormatException
Returns theByte
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly. As the key passed is an enumeration, theEnum.toString()
method is used on the enumeration to resolve the enumeration to a {link String} key.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Byte
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
getByte
default java.lang.Byte getByte(java.lang.Object aKey) throws java.lang.NumberFormatException
Returns theByte
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Byte
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
getByte
default java.lang.Byte getByte(java.lang.String aKey) throws java.lang.NumberFormatException
Returns theByte
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Byte
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
getCharacter
default java.lang.Character getCharacter(java.lang.Enum<?> aKey) throws java.lang.NumberFormatException
Retrieves theCharacter
assigned to the given key. As the key passed is an enumeration, theEnum.toString()
method is used on the enumeration to resolve the enumeration to a {link String} key.- Parameters:
aKey
- The key for which to get the element.- Returns:
- The column in question or null if there is none such column.
- Throws:
java.lang.NumberFormatException
-
getCharacter
default java.lang.Character getCharacter(java.lang.Object aKey) throws java.lang.NumberFormatException
Returns theCharacter
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Character
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
getCharacter
default java.lang.Character getCharacter(java.lang.String aKey) throws java.lang.NumberFormatException
Returns theCharacter
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Character
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
getDouble
default java.lang.Double getDouble(java.lang.Enum<?> aKey) throws java.lang.NumberFormatException
Returns theDouble
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly. As the key passed is an enumeration, theEnum.toString()
method is used on the enumeration to resolve the enumeration to a {link String} key.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Double
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
getDouble
default java.lang.Double getDouble(java.lang.Object aKey) throws java.lang.NumberFormatException
Returns theDouble
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Double
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
getDouble
default java.lang.Double getDouble(java.lang.String aKey) throws java.lang.NumberFormatException
Returns theDouble
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Double
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
getFloat
default java.lang.Float getFloat(java.lang.Enum<?> aKey) throws java.lang.NumberFormatException
Returns theFloat
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly. As the key passed is an enumeration, theEnum.toString()
method is used on the enumeration to resolve the enumeration to a {link String} key.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Float
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
getFloat
default java.lang.Float getFloat(java.lang.Object aKey) throws java.lang.NumberFormatException
Returns theFloat
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Float
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
getFloat
default java.lang.Float getFloat(java.lang.String aKey) throws java.lang.NumberFormatException
Returns theFloat
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Float
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
getInteger
default java.lang.Integer getInteger(java.lang.Enum<?> aKey) throws java.lang.NumberFormatException
Returns theInteger
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly. As the key passed is an enumeration, theEnum.toString()
method is used on the enumeration to resolve the enumeration to a {link String} key.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Integer
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
getInteger
default java.lang.Integer getInteger(java.lang.Object aKey) throws java.lang.NumberFormatException
Returns theInteger
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Integer
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
getInteger
default java.lang.Integer getInteger(java.lang.String aKey) throws java.lang.NumberFormatException
Returns theInteger
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Integer
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
getLong
default java.lang.Long getLong(java.lang.Enum<?> aKey) throws java.lang.NumberFormatException
Returns theLong
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly. As the key passed is an enumeration, theEnum.toString()
method is used on the enumeration to resolve the enumeration to a {link String} key.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Long
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
getLong
default java.lang.Long getLong(java.lang.Object aKey) throws java.lang.NumberFormatException
Returns theLong
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Long
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
getLong
default java.lang.Long getLong(java.lang.String aKey) throws java.lang.NumberFormatException
Returns theLong
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Long
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
getShort
default java.lang.Short getShort(java.lang.Enum<?> aKey) throws java.lang.NumberFormatException
Returns theShort
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly. As the key passed is an enumeration, theEnum.toString()
method is used on the enumeration to resolve the enumeration to a {link String} key.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Short
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
getShort
default java.lang.Short getShort(java.lang.Object aKey) throws java.lang.NumberFormatException
Returns theShort
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Short
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
getShort
default java.lang.Short getShort(java.lang.String aKey) throws java.lang.NumberFormatException
Returns theShort
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Short
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.
-
use
default java.lang.String use(java.lang.Enum<?> aKey) throws KeyNotFoundException
Retrieves the element assigned to the given key. In case the given key does not exist, then anKeyNotFoundException
is thrown. As the key passed is an enumeration, theEnum.toString()
method is used on the enumeration to resolve the enumeration to a {link String} key.- Parameters:
aKey
- The key for which to use the element.- Returns:
- The column in question or null if there is none such column.
- Throws:
KeyNotFoundException
- thrown in case this instance does not contain the requested element (no such key found in the collection).
-
useBoolean
default java.lang.Boolean useBoolean(java.lang.Enum<?> aKey) throws java.lang.NumberFormatException, KeyNotFoundException
Returns theBoolean
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly. In case the given key does not exist, then anKeyNotFoundException
is thrown. As the key passed is an enumeration, theEnum.toString()
method is used on the enumeration to resolve the enumeration to a {link String} key.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Boolean
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.KeyNotFoundException
- thrown in case this instance does not contain the requested element (no such key found in the collection).
-
useBoolean
default java.lang.Boolean useBoolean(java.lang.String aKey) throws java.lang.NumberFormatException, KeyNotFoundException
Returns theBoolean
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly. In case the given key does not exist, then anKeyNotFoundException
is thrown.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Boolean
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.KeyNotFoundException
- thrown in case this instance does not contain the requested element (no such key found in the collection).
-
useByte
default java.lang.Byte useByte(java.lang.Enum<?> aKey) throws java.lang.NumberFormatException, KeyNotFoundException
Returns theByte
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly. In case the given key does not exist, then anKeyNotFoundException
is thrown. As the key passed is an enumeration, theEnum.toString()
method is used on the enumeration to resolve the enumeration to a {link String} key.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Byte
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.KeyNotFoundException
- thrown in case this instance does not contain the requested element (no such key found in the collection).
-
useByte
default java.lang.Byte useByte(java.lang.String aKey) throws java.lang.NumberFormatException, KeyNotFoundException
Returns theByte
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly. In case the given key does not exist, then anKeyNotFoundException
is thrown.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Byte
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.KeyNotFoundException
- thrown in case this instance does not contain the requested element (no such key found in the collection).
-
useDouble
default java.lang.Double useDouble(java.lang.Enum<?> aKey) throws java.lang.NumberFormatException, KeyNotFoundException
Returns theDouble
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly. In case the given key does not exist, then anKeyNotFoundException
is thrown. As the key passed is an enumeration, theEnum.toString()
method is used on the enumeration to resolve the enumeration to a {link String} key.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Double
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.KeyNotFoundException
- thrown in case this instance does not contain the requested element (no such key found in the collection).
-
useDouble
default java.lang.Double useDouble(java.lang.String aKey) throws java.lang.NumberFormatException, KeyNotFoundException
Returns theDouble
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly. In case the given key does not exist, then anKeyNotFoundException
is thrown.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Double
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.KeyNotFoundException
- thrown in case this instance does not contain the requested element (no such key found in the collection).
-
useFloat
default java.lang.Float useFloat(java.lang.Enum<?> aKey) throws java.lang.NumberFormatException, KeyNotFoundException
Returns theFloat
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly. In case the given key does not exist, then anKeyNotFoundException
is thrown. As the key passed is an enumeration, theEnum.toString()
method is used on the enumeration to resolve the enumeration to a {link String} key.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Float
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.KeyNotFoundException
- thrown in case this instance does not contain the requested element (no such key found in the collection).
-
useFloat
default java.lang.Float useFloat(java.lang.String aKey) throws java.lang.NumberFormatException, KeyNotFoundException
Returns theFloat
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly. In case the given key does not exist, then anKeyNotFoundException
is thrown.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Float
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.KeyNotFoundException
- thrown in case this instance does not contain the requested element (no such key found in the collection).
-
useInteger
default java.lang.Integer useInteger(java.lang.Enum<?> aKey) throws java.lang.NumberFormatException, KeyNotFoundException
Returns theInteger
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly. In case the given key does not exist, then anKeyNotFoundException
is thrown. As the key passed is an enumeration, theEnum.toString()
method is used on the enumeration to resolve the enumeration to a {link String} key.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Integer
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.KeyNotFoundException
- thrown in case this instance does not contain the requested element (no such key found in the collection).
-
useInteger
default java.lang.Integer useInteger(java.lang.String aKey) throws java.lang.NumberFormatException, KeyNotFoundException
Returns theInteger
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly. In case the given key does not exist, then anKeyNotFoundException
is thrown.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Integer
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.KeyNotFoundException
- thrown in case this instance does not contain the requested element (no such key found in the collection).
-
useLong
default java.lang.Long useLong(java.lang.Enum<?> aKey) throws java.lang.NumberFormatException, KeyNotFoundException
Returns theLong
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly. In case the given key does not exist, then anKeyNotFoundException
is thrown. As the key passed is an enumeration, theEnum.toString()
method is used on the enumeration to resolve the enumeration to a {link String} key.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Long
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.KeyNotFoundException
- thrown in case this instance does not contain the requested element (no such key found in the collection).
-
useLong
default java.lang.Long useLong(java.lang.String aKey) throws java.lang.NumberFormatException, KeyNotFoundException
Returns theLong
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly. In case the given key does not exist, then anKeyNotFoundException
is thrown.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Long
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.KeyNotFoundException
- thrown in case this instance does not contain the requested element (no such key found in the collection).
-
useShort
default java.lang.Short useShort(java.lang.Enum<?> aKey) throws java.lang.NumberFormatException, KeyNotFoundException
Returns theShort
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly. In case the given key does not exist, then anKeyNotFoundException
is thrown. As the key passed is an enumeration, theEnum.toString()
method is used on the enumeration to resolve the enumeration to a {link String} key.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Short
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.KeyNotFoundException
- thrown in case this instance does not contain the requested element (no such key found in the collection).
-
useShort
default java.lang.Short useShort(java.lang.String aKey) throws java.lang.NumberFormatException, KeyNotFoundException
Returns theShort
value of the property referred to by the key. As property keys and values are of typeString
, theString
value is converted accordingly. In case the given key does not exist, then anKeyNotFoundException
is thrown.- Parameters:
aKey
- The key for which to retrieve the value.- Returns:
- The
Short
representation of the key'sString
value. - Throws:
java.lang.NumberFormatException
- thrown in case conversion fails.KeyNotFoundException
- thrown in case this instance does not contain the requested element (no such key found in the collection).
-
-