Package org.refcodes.structure
Interface PropertiesAccessorMixin.PropertiesBuilderMixin<T>
-
- All Superinterfaces:
Clearable
,Keys<java.lang.String,java.lang.String>
,Keys.MutableKeys<java.lang.String,java.lang.String>
,Keys.MutableValues<java.lang.String,java.lang.String>
,PropertiesAccessorMixin
,PropertiesAccessorMixin.PropertiesMixin
,PropertiesAccessorMixin.PropertiesMutatorMixin
- All Known Subinterfaces:
CanonicalMap.CanonicalMapBuilder
- All Known Implementing Classes:
CanonicalMapBuilderImpl
- Enclosing interface:
- PropertiesAccessorMixin
public static interface PropertiesAccessorMixin.PropertiesBuilderMixin<T> extends PropertiesAccessorMixin.PropertiesMixin
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.structure.Keys
Keys.MutableKeys<K,V>, Keys.MutableValues<K,V>
-
Nested classes/interfaces inherited from interface org.refcodes.structure.PropertiesAccessorMixin
PropertiesAccessorMixin.PropertiesBuilderMixin<T>, PropertiesAccessorMixin.PropertiesMixin, PropertiesAccessorMixin.PropertiesMutatorMixin
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default T
withPut(java.lang.String aKey, java.lang.String aValue)
With put.default T
withPut(Property aProperty)
With put.default T
withPutBoolean(java.lang.String aKey, java.lang.Boolean aValue)
Sets theBoolean
value for the property referred to by the key.default T
withPutByte(java.lang.String aKey, java.lang.Byte aValue)
Sets theByte
value for the property referred to by the key.default T
withPutDouble(java.lang.String aKey, java.lang.Double aValue)
Sets theDouble
value for the property referred to by the key.default T
withPutFloat(java.lang.String aKey, java.lang.Float aValue)
Sets theFloat
value for the property referred to by the key.default T
withPutInteger(java.lang.String aKey, java.lang.Integer aValue)
Sets theInteger
value for the property referred to by the key.default T
withPutLong(java.lang.String aKey, java.lang.Long aValue)
Sets theLong
value for the property referred to by the key.default T
withPutShort(java.lang.String aKey, java.lang.Short aValue)
Sets theShort
value for the property referred to by the key.-
Methods inherited from interface org.refcodes.structure.Keys
containsKey, containsValue, get, keySet, use, values
-
Methods inherited from interface org.refcodes.structure.Keys.MutableKeys
delete
-
Methods inherited from interface org.refcodes.structure.Keys.MutableValues
put
-
Methods inherited from interface org.refcodes.structure.PropertiesAccessorMixin
containsKey, get, getBoolean, getBoolean, getByte, getByte, getCharacter, getCharacter, getDouble, getDouble, getFloat, getFloat, getInteger, getInteger, getLong, getLong, getShort, getShort, use, useBoolean, useBoolean, useByte, useByte, useDouble, useDouble, useFloat, useFloat, useInteger, useInteger, useLong, useLong, useShort, useShort
-
Methods inherited from interface org.refcodes.structure.PropertiesAccessorMixin.PropertiesMutatorMixin
put, put, putBoolean, putBoolean, putByte, putByte, putDouble, putDouble, putFloat, putFloat, putInteger, putInteger, putLong, putLong, putShort, putShort
-
-
-
-
Method Detail
-
withPut
default T withPut(java.lang.String aKey, java.lang.String aValue)
With put.- Parameters:
aKey
- the keyaValue
- the value- Returns:
- the properties builder
-
withPut
default T withPut(Property aProperty)
With put.- Parameters:
aProperty
- the property- Returns:
- the properties builder
-
withPutInteger
default T withPutInteger(java.lang.String aKey, java.lang.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:
- This instance for further builder method calls.
-
withPutShort
default T withPutShort(java.lang.String aKey, java.lang.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:
- This instance for further builder method calls.
-
withPutByte
default T withPutByte(java.lang.String aKey, java.lang.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:
- This instance for further builder method calls.
-
withPutDouble
default T withPutDouble(java.lang.String aKey, java.lang.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:
- This instance for further builder method calls.
-
withPutFloat
default T withPutFloat(java.lang.String aKey, java.lang.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:
- This instance for further builder method calls.
-
withPutLong
default T withPutLong(java.lang.String aKey, java.lang.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:
- This instance for further builder method calls.
-
withPutBoolean
default T withPutBoolean(java.lang.String aKey, java.lang.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:
- This instance for further builder method calls.
-
-