Module org.refcodes.struct
Package org.refcodes.struct
Interface InterOperableMap.MutableInterOperableMap<T>
-
- All Superinterfaces:
org.refcodes.mixin.AnnotatorAccessor
,org.refcodes.mixin.Clearable
,Containable
,org.refcodes.mixin.DelimiterAccessor
,Dictionary<String,T>
,Dictionary.MutableDictionary<String,T>
,org.refcodes.mixin.Dumpable
,org.refcodes.mixin.EmptyAccessor
,Keys<String,T>
,Keys.MutableKeys<String,T>
,Keys.MutableValues<String,T>
,Map<String,T>
,PathMap<T>
,PathMap.MutablePathMap<T>
,org.refcodes.mixin.TypeAccessor<T>
- All Known Subinterfaces:
CanonicalMap.CanonicalMapBuilder
,CanonicalMap.MutableCanonicalMap
,InterOperableMap.InterOperableMapBuilder<T>
,SimpleTypeMap.MutableSimpleTypeMap
,SimpleTypeMap.SimpleTypeMapBuilder
- All Known Implementing Classes:
CanonicalMapBuilderImpl
,SimpleTypeMapBuilderImpl
- Enclosing interface:
- InterOperableMap<T>
public static interface InterOperableMap.MutableInterOperableMap<T> extends PathMap.MutablePathMap<T>
TheInterOperableMap.InterOperableMapBuilder
provides convenience accessor default methods for supporting primitive data types.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.AnnotatorAccessor
org.refcodes.mixin.AnnotatorAccessor.AnnotatorBuilder<B extends org.refcodes.mixin.AnnotatorAccessor.AnnotatorBuilder<B>>, org.refcodes.mixin.AnnotatorAccessor.AnnotatorMutator, org.refcodes.mixin.AnnotatorAccessor.AnnotatorProperty
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.DelimiterAccessor
org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B extends org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B>>, org.refcodes.mixin.DelimiterAccessor.DelimiterMutator, org.refcodes.mixin.DelimiterAccessor.DelimiterProperty
-
Nested classes/interfaces inherited from interface org.refcodes.struct.Dictionary
Dictionary.MutableDictionary<K,V>
-
Nested classes/interfaces inherited from interface org.refcodes.struct.Dictionary.MutableDictionary
Dictionary.MutableDictionary.DictionaryBuilder<K,V,B extends Dictionary.MutableDictionary.DictionaryBuilder<K,V,B>>
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.EmptyAccessor
org.refcodes.mixin.EmptyAccessor.EmptyMutator, org.refcodes.mixin.EmptyAccessor.EmptyProperty
-
Nested classes/interfaces inherited from interface org.refcodes.struct.Keys
Keys.MutableKeys<K,V>, Keys.MutableValues<K,V>
-
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K extends Object,V extends Object>
-
Nested classes/interfaces inherited from interface org.refcodes.struct.PathMap
PathMap.MutablePathMap<T>, PathMap.PathMapBuilder<T>
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.TypeAccessor
org.refcodes.mixin.TypeAccessor.TypeBuilder<T extends Object,B extends org.refcodes.mixin.TypeAccessor.TypeBuilder<T,B>>, org.refcodes.mixin.TypeAccessor.TypeMutator<T extends Object>, org.refcodes.mixin.TypeAccessor.TypeProperty<T extends Object>
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default boolean
containsValue(Object value)
This method is defined for the sake ofMap
conformity.default void
insert(InterOperableMap.InterOperableMapBuilder<T> aFrom)
Method to semantically emphasize that we support our own types.default void
insertBetween(String aToPath, InterOperableMap.InterOperableMapBuilder<T> aFrom, String aFromPath)
Method to semantically emphasize that we support our own types.default void
insertFrom(InterOperableMap.InterOperableMapBuilder<T> aFrom, String aFromPath)
Method to semantically emphasize that we support our own types.default void
insertTo(String aToPath, InterOperableMap.InterOperableMapBuilder<T> aFrom)
Method to semantically emphasize that we support our own types.default T
putBoolean(Object[] aPathElements, Boolean aValue)
Sets theBoolean
value for the property referred to by the path elements representing the addressed path.default T
putBoolean(Object aKey, Boolean aValue)
Sets theBoolean
value for the property referred to by the key.default T
putBoolean(String[] aPathElements, Boolean aValue)
Sets theBoolean
value for the property referred to by the path elements representing the addressed path.default T
putBoolean(String aKey, Boolean aValue)
Sets theBoolean
value for the property referred to by the key.default T
putBoolean(Collection<?> aPathElements, Boolean aValue)
Sets theBoolean
value for the property referred to by the path elements representing the addressed path.default T
putByte(Object[] aPathElements, Byte aValue)
Sets theByte
value for the property referred to by the path elements representing the addressed path.default T
putByte(Object aKey, Byte aValue)
Sets theByte
value for the property referred to by the key.default T
putByte(String[] aPathElements, Byte aValue)
Sets theByte
value for the property referred to by the path elements representing the addressed path.default T
putByte(String aKey, Byte aValue)
Sets theByte
value for the property referred to by the key.default T
putByte(Collection<?> aPathElements, Byte aValue)
Sets theByte
value for the property referred to by the path elements representing the addressed path.default T
putChar(Object[] aPathElements, Character aValue)
Sets theCharacter
value for the property referred to by the path elements representing the addressed path.default T
putChar(Object aKey, Character aValue)
Sets theCharacter
value for the property referred to by the key.default T
putChar(String[] aPathElements, Character aValue)
Sets theCharacter
value for the property referred to by the path elements representing the addressed path.default T
putChar(String aKey, Character aValue)
Sets theCharacter
value for the property referred to by the key.default T
putChar(Collection<?> aPathElements, Character aValue)
Sets theCharacter
value for the property referred to by the path elements representing the addressed path.default <C> T
putClass(Object[] aPathElements, Class<C> aValue)
Sets theClass
value for the property referred to by the path elements representing the addressed path.default <C> T
putClass(Object aKey, Class<C> aValue)
Sets theClass
value for the property referred to by the key.default <C> T
putClass(String[] aPathElements, Class<C> aValue)
Sets theClass
value for the property referred to by the path elements representing the addressed path.default <C> T
putClass(String aKey, Class<C> aValue)
Sets theClass
value for the property referred to by the key.default <C> T
putClass(Collection<?> aPathElements, Class<C> aValue)
Sets theClass
value for the property referred to by the path elements representing the addressed path.default T
putDouble(Object[] aPathElements, Double aValue)
Sets theDouble
value for the property referred to by the path elements representing the addressed path.default T
putDouble(Object aKey, Double aValue)
Sets theDouble
value for the property referred to by the key.default T
putDouble(String[] aPathElements, Double aValue)
Sets theDouble
value for the property referred to by the path elements representing the addressed path.default T
putDouble(String aKey, Double aValue)
Sets theDouble
value for the property referred to by the key.default T
putDouble(Collection<?> aPathElements, Double aValue)
Sets theDouble
value for the property referred to by the path elements representing the addressed path.default <E extends Enum<E>>
TputEnum(Object[] aPathElements, E aValue)
Sets theEnum
value for the property referred to by the path elements representing the addressed path.default <E extends Enum<E>>
TputEnum(Object aKey, E aValue)
Sets theEnum
value for the property referred to by the key.default <E extends Enum<E>>
TputEnum(String[] aPathElements, E aValue)
Sets theEnum
value for the property referred to by the path elements representing the addressed path.default <E extends Enum<E>>
TputEnum(String aKey, E aValue)
Sets theEnum
value for the property referred to by the key.default <E extends Enum<E>>
TputEnum(Collection<?> aPathElements, E aValue)
Sets theEnum
value for the property referred to by the path elements representing the addressed path.default T
putFloat(Object[] aPathElements, Float aValue)
Sets theFloat
value for the property referred to by the path elements representing the addressed path.default T
putFloat(Object aKey, Float aValue)
Sets theFloat
value for the property referred to by the key.default T
putFloat(String[] aPathElements, Float aValue)
Sets theFloat
value for the property referred to by the path elements representing the addressed path.default T
putFloat(String aKey, Float aValue)
Sets theFloat
value for the property referred to by the key.default T
putFloat(Collection<?> aPathElements, Float aValue)
Sets theFloat
value for the property referred to by the path elements representing the addressed path.default T
putInt(Object[] aPathElements, Integer aValue)
Sets theInteger
value for the property referred to by the path elements representing the addressed path.default T
putInt(Object aKey, Integer aValue)
Sets theInteger
value for the property referred to by the key.default T
putInt(String[] aPathElements, Integer aValue)
Sets theInteger
value for the property referred to by the path elements representing the addressed path.default T
putInt(String aKey, Integer aValue)
Sets theInteger
value for the property referred to by the key.default T
putInt(Collection<?> aPathElements, Integer aValue)
Sets theInteger
value for the property referred to by the path elements representing the addressed path.default T
putLong(Object[] aPathElements, Long aValue)
Sets theLong
value for the property referred to by the path elements representing the addressed path.default T
putLong(Object aKey, Long aValue)
Sets theLong
value for the property referred to by the key.default T
putLong(String[] aPathElements, Long aValue)
Sets theLong
value for the property referred to by the path elements representing the addressed path.default T
putLong(String aKey, Long aValue)
Sets theLong
value for the property referred to by the key.default T
putLong(Collection<?> aPathElements, Long aValue)
Sets theLong
value for the property referred to by the path elements representing the addressed path.default T
putShort(Object[] aPathElements, Short aValue)
Sets theShort
value for the property referred to by the path elements representing the addressed path.default T
putShort(Object aKey, Short aValue)
Sets theShort
value for the property referred to by the key.default T
putShort(String[] aPathElements, Short aValue)
Sets theShort
value for the property referred to by the path elements representing the addressed path.default T
putShort(String aKey, Short aValue)
Sets theShort
value for the property referred to by the key.default T
putShort(Collection<?> aPathElements, Short aValue)
Sets theShort
value for the property referred to by the path elements representing the addressed path.default T
putString(Object[] aPathElements, String aValue)
Sets theString
value for the property referred to by the path elements representing the addressed path.default T
putString(Object aKey, String aValue)
Sets theString
value for the property referred to by the key.default T
putString(String[] aPathElements, String aValue)
Sets theString
value for the property referred to by the path elements representing the addressed path.default T
putString(String aKey, String aValue)
Sets theString
value for the property referred to by the key.default T
putString(Collection<?> aPathElements, String aValue)
Sets theString
value for the property referred to by the path elements representing the addressed path.-
Methods inherited from interface org.refcodes.struct.Containable
size
-
Methods inherited from interface org.refcodes.struct.Keys
containsKey, get, getOr, keySet, use, values
-
Methods inherited from interface org.refcodes.struct.Keys.MutableValues
put
-
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from interface org.refcodes.struct.PathMap
children, children, children, children, children, children, containsKey, containsKey, containsKey, dirs, dirs, dirs, dirs, dirs, dirs, findPaths, fromExternalPath, get, get, get, getArray, getArray, getArray, getArray, getArray, getArrayIndexes, getArrayIndexes, getArrayIndexes, getArrayIndexes, getArrayIndexes, getDir, getDir, getDir, getDir, getDir, getDirAt, getDirAt, getDirAt, getDirAt, getDirAt, getDirAt, getDirIndexes, getDirIndexes, getDirIndexes, getDirIndexes, getDirIndexes, getRootPath, getValueAt, getValueAt, getValueAt, getValueAt, getValueAt, getValueAt, hasChildren, hasChildren, hasChildren, hasChildren, hasChildren, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasParentPath, hasPath, hasPath, hasPath, hasPath, hasSubDirs, hasSubDirs, hasSubDirs, hasSubDirs, hasValue, hasValue, hasValue, hasValue, hasValue, hasValueAt, hasValueAt, hasValueAt, hasValueAt, hasValueAt, hasValueAt, hasValueAt, hasValueAt, isArray, isArray, isArray, isArray, isArray, isArray, isChild, isChild, isChild, isChild, isDir, isDir, isDir, isDir, isDir, isEqualTo, isIndexDir, isIndexDir, isIndexDir, isIndexDir, isIndexDir, isLeaf, isLeaf, isLeaf, isLeaf, isLeaf, isRootPath, keySet, keySet, keySet, keySet, keySet, lastArrayIndex, lastArrayIndex, lastArrayIndex, lastArrayIndex, lastArrayIndex, lastArrayIndex, lastDirIndex, lastDirIndex, lastDirIndex, lastDirIndex, lastDirIndex, lastDirIndex, leaves, leaves, leaves, leaves, leaves, leaves, nextArrayIndex, nextArrayIndex, nextArrayIndex, nextArrayIndex, nextArrayIndex, nextArrayIndex, nextDirIndex, nextDirIndex, nextDirIndex, nextDirIndex, nextDirIndex, nextDirIndex, paths, paths, paths, paths, paths, paths, query, query, query, query, query, queryBetween, queryBetween, queryBetween, queryBetween, queryBetween, queryBetween, queryFrom, queryFrom, queryFrom, queryFrom, queryFrom, queryFrom, queryPaths, queryPaths, queryPaths, queryPaths, queryPaths, queryPaths, queryTo, queryTo, queryTo, queryTo, queryTo, queryTo, retrieveBetween, retrieveBetween, retrieveBetween, retrieveBetween, retrieveBetween, retrieveFrom, retrieveFrom, retrieveFrom, retrieveFrom, retrieveFrom, retrieveTo, retrieveTo, retrieveTo, retrieveTo, retrieveTo, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, toDataStructure, toDataStructure, toExternalPath, toInstance, toInstance, toLeaf, toMap, toMap, toNormalizedPath, toParentPath, toPath, toPath, toPath, toPath, toPathElements, toPathList, toPathStack, toPropertyPath, toType, toType, toType, toType, toType, toType, toType, toType
-
Methods inherited from interface org.refcodes.struct.PathMap.MutablePathMap
add, add, add, add, add, add, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendValueTo, appendValueTo, appendValueTo, appendValueTo, appendValueTo, appendValueTo, delete, delete, delete, delete, delete, insert, insert, insertBetween, insertBetween, insertBetween, insertBetween, insertBetween, insertBetween, insertBetween, insertBetween, insertBetween, insertBetween, insertFrom, insertFrom, insertFrom, insertFrom, insertFrom, insertFrom, insertFrom, insertFrom, insertFrom, insertFrom, insertTo, insertTo, insertTo, insertTo, insertTo, insertTo, insertTo, insertTo, insertTo, insertTo, merge, merge, mergeBetween, mergeBetween, mergeBetween, mergeBetween, mergeBetween, mergeBetween, mergeBetween, mergeBetween, mergeBetween, mergeBetween, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeTo, mergeTo, mergeTo, mergeTo, mergeTo, mergeTo, mergeTo, mergeTo, mergeTo, mergeTo, put, put, put, put, putArray, putArray, putArray, putArray, putArray, putArray, putArray, putArray, putArray, putArray, putArray, putArray, putDirAt, putDirAt, putDirAt, putDirAt, putDirAt, putDirAt, putDirAt, putDirAt, putDirAt, putDirAt, putDirAt, putDirAt, putValueAt, putValueAt, putValueAt, putValueAt, putValueAt, putValueAt, remove, remove, remove, removeAll, removeAll, removeAll, removeAll, removeAll, removeAll, removeDirAt, removeDirAt, removeDirAt, removeDirAt, removeDirAt, removeFrom, removeFrom, removeFrom, removeFrom, removeFrom, removePaths, removePaths, removeValueAt, removeValueAt, removeValueAt, removeValueAt, removeValueAt, toSourceCode, toSourceCode
-
-
-
-
Method Detail
-
containsValue
default boolean containsValue(Object value)
This method is defined for the sake ofMap
conformity. Tests whether the provided value has a key assigned.- Specified by:
containsValue
in interfaceKeys<String,T>
- Specified by:
containsValue
in interfaceMap<String,T>
- Parameters:
value
- The value to test if a key references this value.- Returns:
- True in case the given value is referenced by a key.
-
insert
default void insert(InterOperableMap.InterOperableMapBuilder<T> aFrom)
Method to semantically emphasize that we support our own types. Actually delegates toPathMap.MutablePathMap.insert(Object)
.- Parameters:
aFrom
- TheInterOperableMap.InterOperableMapBuilder
which is to be inspected with the therein contained values being added with their according determined paths.
-
insertBetween
default void insertBetween(String aToPath, InterOperableMap.InterOperableMapBuilder<T> aFrom, String aFromPath)
Method to semantically emphasize that we support our own types. Actually delegates toPathMap.MutablePathMap.insertBetween(String, Object, String)
.- Parameters:
aToPath
- The sub-path where to insert the object's introspected values to.aFrom
- TheInterOperableMap.InterOperableMapBuilder
which is to be inspected with the therein contained values being added with their according determined paths.aFromPath
- The path from where to start adding elements of the provided object.
-
insertFrom
default void insertFrom(InterOperableMap.InterOperableMapBuilder<T> aFrom, String aFromPath)
Method to semantically emphasize that we support our own types. Actually delegates toPathMap.MutablePathMap.insertFrom(Object, String)
.- Parameters:
aFrom
- TheInterOperableMap.InterOperableMapBuilder
which is to be inspected with the therein contained values being added with their according determined paths.aFromPath
- The path from where to start adding elements of the provided object.
-
insertTo
default void insertTo(String aToPath, InterOperableMap.InterOperableMapBuilder<T> aFrom)
Method to semantically emphasize that we support our own types. Actually delegates toPathMap.MutablePathMap.insertTo(String, Object)
.- Parameters:
aToPath
- The sub-path where to insert the object's introspected values to.aFrom
- TheInterOperableMap.InterOperableMapBuilder
which is to be inspected with the therein contained values being added with their according determined paths.
-
putBoolean
default T putBoolean(Object aKey, Boolean aValue)
Sets theBoolean
value for the property referred to by the key. As property keys and values are of typeString
, theBoolean
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.aValue
- TheBoolean
representation for theString
value.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putBoolean
default T putBoolean(Object[] aPathElements, Boolean aValue)
Sets theBoolean
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theBoolean
value is converted accordingly.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- The valueBoolean
to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putBoolean
default T putBoolean(Collection<?> aPathElements, Boolean aValue)
Sets theBoolean
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theBoolean
value is converted accordingly.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- The valueBoolean
to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putBoolean
default T putBoolean(String aKey, Boolean aValue)
Sets theBoolean
value for the property referred to by the key. As property keys and values are of typeString
, theBoolean
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.aValue
- TheBoolean
representation for theString
value.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putBoolean
default T putBoolean(String[] aPathElements, Boolean aValue)
Sets theBoolean
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theBoolean
value is converted accordingly.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- TheBoolean
value to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putByte
default T putByte(Object aKey, Byte aValue)
Sets theByte
value for the property referred to by the key. As property keys and values are of typeString
, theBoolean
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.aValue
- TheByte
representation for theString
value.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putByte
default T putByte(Object[] aPathElements, Byte aValue)
Sets theByte
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theByte
value is converted accordingly.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- The valueByte
to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putByte
default T putByte(Collection<?> aPathElements, Byte aValue)
Sets theByte
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theByte
value is converted accordingly.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- The valueByte
to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putByte
default T putByte(String aKey, Byte aValue)
Sets theByte
value for the property referred to by the key. As property keys and values are of typeString
, theByte
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.aValue
- TheByte
representation for theString
value.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putByte
default T putByte(String[] aPathElements, Byte aValue)
Sets theByte
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theByte
value is converted accordingly.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- TheByte
value to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putChar
default T putChar(Object aKey, Character aValue)
Sets theCharacter
value for the property referred to by the key. As property keys and values are of typeString
, theBoolean
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.aValue
- TheCharacter
representation for theString
value.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putChar
default T putChar(Object[] aPathElements, Character aValue)
Sets theCharacter
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theCharacter
value is converted accordingly.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- The valueCharacter
to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putChar
default T putChar(Collection<?> aPathElements, Character aValue)
Sets theCharacter
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theCharacter
value is converted accordingly.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- The valueCharacter
to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putChar
default T putChar(String aKey, Character aValue)
Sets theCharacter
value for the property referred to by the key. As property keys and values are of typeString
, theCharacter
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.aValue
- TheCharacter
representation for theString
value.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putChar
default T putChar(String[] aPathElements, Character aValue)
Sets theCharacter
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theCharacter
value is converted accordingly.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- TheCharacter
value to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putClass
default <C> T putClass(Object aKey, Class<C> aValue)
Sets theClass
value for the property referred to by the key. As property keys and values are of typeString
, theBoolean
value is converted accordingly.- Type Parameters:
C
- The type of the class in question.- Parameters:
aKey
- The key for which to retrieve the value.aValue
- TheClass
representation for theString
value.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putClass
default <C> T putClass(Object[] aPathElements, Class<C> aValue)
Sets theClass
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theClass
value is converted accordingly.- Type Parameters:
C
- The type of the class in question.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- The valueClass
to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putClass
default <C> T putClass(Collection<?> aPathElements, Class<C> aValue)
Sets theClass
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theClass
value is converted accordingly.- Type Parameters:
C
- The type of the class in question.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- The valueClass
to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putClass
default <C> T putClass(String aKey, Class<C> aValue)
Sets theClass
value for the property referred to by the key. As property keys and values are of typeString
, theClass
value is converted accordingly.- Type Parameters:
C
- The type of the class in question.- Parameters:
aKey
- The key for which to retrieve the value.aValue
- TheClass
representation for theString
value.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putClass
default <C> T putClass(String[] aPathElements, Class<C> aValue)
Sets theClass
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theClass
value is converted accordingly.- Type Parameters:
C
- The type of the class in question.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- TheClass
value to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putDouble
default T putDouble(Object aKey, Double aValue)
Sets theDouble
value for the property referred to by the key. As property keys and values are of typeString
, theBoolean
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.aValue
- TheDouble
representation for theString
value.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putDouble
default T putDouble(Object[] aPathElements, Double aValue)
Sets theDouble
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theDouble
value is converted accordingly.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- The valueDouble
to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putDouble
default T putDouble(Collection<?> aPathElements, Double aValue)
Sets theDouble
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theDouble
value is converted accordingly.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- The valueDouble
to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putDouble
default T putDouble(String aKey, Double aValue)
Sets theDouble
value for the property referred to by the key. As property keys and values are of typeString
, theDouble
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.aValue
- TheDouble
representation for theString
value.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putDouble
default T putDouble(String[] aPathElements, Double aValue)
Sets theDouble
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theDouble
value is converted accordingly.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- TheDouble
value to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putEnum
default <E extends Enum<E>> T putEnum(Object aKey, E aValue)
Sets theEnum
value for the property referred to by the key. As property keys and values are of typeString
, theBoolean
value is converted accordingly.- Type Parameters:
E
- The type of the enumeration in question.- Parameters:
aKey
- The key for which to retrieve the value.aValue
- TheEnum
representation for theString
value.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putEnum
default <E extends Enum<E>> T putEnum(Object[] aPathElements, E aValue)
Sets theEnum
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theEnum
value is converted accordingly.- Type Parameters:
E
- The type of the enumeration in question.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- The valueEnum
to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putEnum
default <E extends Enum<E>> T putEnum(Collection<?> aPathElements, E aValue)
Sets theEnum
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theEnum
value is converted accordingly.- Type Parameters:
E
- The type of the enumeration in question.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- The valueEnum
to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putEnum
default <E extends Enum<E>> T putEnum(String aKey, E aValue)
Sets theEnum
value for the property referred to by the key. As property keys and values are of typeString
, theEnum
value is converted accordingly.- Type Parameters:
E
- The type of the enumeration in question.- Parameters:
aKey
- The key for which to retrieve the value.aValue
- TheEnum
representation for theString
value.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putEnum
default <E extends Enum<E>> T putEnum(String[] aPathElements, E aValue)
Sets theEnum
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theEnum
value is converted accordingly.- Type Parameters:
E
- The type of the enumeration in question.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- TheEnum
value to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putFloat
default T putFloat(Object aKey, Float aValue)
Sets theFloat
value for the property referred to by the key. As property keys and values are of typeString
, theBoolean
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.aValue
- TheFloat
representation for theString
value.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putFloat
default T putFloat(Object[] aPathElements, Float aValue)
Sets theFloat
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theFloat
value is converted accordingly.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- The valueFloat
to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putFloat
default T putFloat(Collection<?> aPathElements, Float aValue)
Sets theFloat
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theFloat
value is converted accordingly.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- The valueFloat
to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putFloat
default T putFloat(String aKey, Float aValue)
Sets theFloat
value for the property referred to by the key. As property keys and values are of typeString
, theFloat
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.aValue
- TheFloat
representation for theString
value.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putFloat
default T putFloat(String[] aPathElements, Float aValue)
Sets theFloat
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theFloat
value is converted accordingly.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- TheFloat
value to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putInt
default T putInt(Object aKey, Integer aValue)
Sets theInteger
value for the property referred to by the key. As property keys and values are of typeString
, theBoolean
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.aValue
- TheInteger
representation for theString
value.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putInt
default T putInt(Object[] aPathElements, Integer aValue)
Sets theInteger
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theInteger
value is converted accordingly.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- The valueInteger
to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putInt
default T putInt(Collection<?> aPathElements, Integer aValue)
Sets theInteger
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theInteger
value is converted accordingly.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- The valueInteger
to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putInt
default T putInt(String aKey, Integer aValue)
Sets theInteger
value for the property referred to by the key. As property keys and values are of typeString
, theInteger
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.aValue
- TheInteger
representation for theString
value.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putInt
default T putInt(String[] aPathElements, Integer aValue)
Sets theInteger
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theInteger
value is converted accordingly.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- TheInteger
value to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putLong
default T putLong(Object aKey, Long aValue)
Sets theLong
value for the property referred to by the key. As property keys and values are of typeString
, theBoolean
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.aValue
- TheLong
representation for theString
value.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putLong
default T putLong(Object[] aPathElements, Long aValue)
Sets theLong
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theLong
value is converted accordingly.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- The valueLong
to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putLong
default T putLong(Collection<?> aPathElements, Long aValue)
Sets theLong
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theLong
value is converted accordingly.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- The valueLong
to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putLong
default T putLong(String aKey, Long aValue)
Sets theLong
value for the property referred to by the key. As property keys and values are of typeString
, theLong
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.aValue
- TheLong
representation for theString
value.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putLong
default T putLong(String[] aPathElements, Long aValue)
Sets theLong
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theLong
value is converted accordingly.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- TheLong
value to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putShort
default T putShort(Object aKey, Short aValue)
Sets theShort
value for the property referred to by the key. As property keys and values are of typeString
, theBoolean
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.aValue
- TheShort
representation for theString
value.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putShort
default T putShort(Object[] aPathElements, Short aValue)
Sets theShort
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theShort
value is converted accordingly.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- The valueShort
to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putShort
default T putShort(Collection<?> aPathElements, Short aValue)
Sets theShort
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theShort
value is converted accordingly.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- The valueShort
to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putShort
default T putShort(String aKey, Short aValue)
Sets theShort
value for the property referred to by the key. As property keys and values are of typeString
, theShort
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.aValue
- TheShort
representation for theString
value.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putShort
default T putShort(String[] aPathElements, Short aValue)
Sets theShort
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theShort
value is converted accordingly.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- TheShort
value to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putString
default T putString(Object aKey, String aValue)
Sets theString
value for the property referred to by the key. As property keys and values are of typeString
, theBoolean
value is converted accordingly.- Parameters:
aKey
- The key for which to retrieve the value.aValue
- TheString
representation for theString
value.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putString
default T putString(Object[] aPathElements, String aValue)
Sets theString
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theString
value is converted accordingly.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- The valueString
to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putString
default T putString(Collection<?> aPathElements, String aValue)
Sets theString
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theString
value is converted accordingly.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- The valueString
to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putString
default T putString(String aKey, String aValue)
Sets theString
value for 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.aValue
- TheString
representation for theString
value.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
putString
default T putString(String[] aPathElements, String aValue)
Sets theString
value for the property referred to by the path elements representing the addressed path. As property keys and values are of typeString
, theString
value is converted accordingly.- Parameters:
aPathElements
- The path elements of the path addressing the value.aValue
- TheString
value to be associated with the path.- Returns:
- The previous value associated with path, or null if there was no mapping for the path. (A null return can also indicate that the map previously associated null with the path, if the implementation supports null values.)
-
-