Package org.refcodes.structure
Interface PropertiesAccessorMixin.PropertiesMutatorMixin
-
- All Superinterfaces:
Clearable
,Keys<String,String>
,Keys.MutableKeys<String,String>
,Keys.MutableValues<String,String>
- All Known Subinterfaces:
CanonicalMap.CanonicalMapBuilder
,CanonicalMap.MutableCanonicalMap
,PropertiesAccessorMixin.PropertiesBuilderMixin<T>
,PropertiesAccessorMixin.PropertiesMixin
- All Known Implementing Classes:
CanonicalMapBuilderImpl
- Enclosing interface:
- PropertiesAccessorMixin
public static interface PropertiesAccessorMixin.PropertiesMutatorMixin extends Keys.MutableValues<String,String>
-
-
Nested Class Summary
-
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 String
put(Object aKey, String aValue)
Adds the given element related to the given key.default String
put(Property aProperty)
Puts the key/value-pair from the providedProperty
.default String
putBoolean(Object aKey, Boolean aValue)
Sets theBoolean
value for the property referred to by the key.default String
putBoolean(String aKey, Boolean aValue)
Sets theBoolean
value for the property referred to by the key.default String
putByte(Object aKey, Byte aValue)
Sets theByte
value for the property referred to by the key.default String
putByte(String aKey, Byte aValue)
Sets theByte
value for the property referred to by the key.default String
putDouble(Object aKey, Double aValue)
Sets theDouble
value for the property referred to by the key.default String
putDouble(String aKey, Double aValue)
Sets theDouble
value for the property referred to by the key.default String
putFloat(Object aKey, Float aValue)
Sets theFloat
value for the property referred to by the key.default String
putFloat(String aKey, Float aValue)
Sets theFloat
value for the property referred to by the key.default String
putInteger(Object aKey, Integer aValue)
Sets theInteger
value for the property referred to by the key.default String
putInteger(String aKey, Integer aValue)
Sets theInteger
value for the property referred to by the key.default String
putLong(Object aKey, Long aValue)
Sets theLong
value for the property referred to by the key.default String
putLong(String aKey, Long aValue)
Sets theLong
value for the property referred to by the key.default String
putShort(Object aKey, Short aValue)
Sets theShort
value for the property referred to by the key.default String
putShort(String aKey, Short aValue)
Sets theShort
value for the property referred to by the key.-
Methods inherited from interface org.refcodes.structure.Keys
containsKey, containsValue, get, getOr, keySet, use, values
-
Methods inherited from interface org.refcodes.structure.Keys.MutableKeys
delete
-
Methods inherited from interface org.refcodes.structure.Keys.MutableValues
put
-
-
-
-
Method Detail
-
put
default String put(Object aKey, String aValue)
Adds the given element related 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 add the element.aValue
- The value to be related with the given key.- Returns:
- The value being replaced by the provided value or null if none value has been replaced.
-
put
default String put(Property aProperty)
Puts the key/value-pair from the providedProperty
.- Parameters:
aProperty
- The property's key/value to be inserted.- Returns:
- The property value overwritten by the provided property.
-
-