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 TwithPut(java.lang.String aKey, java.lang.String aValue)With put.default TwithPut(Property aProperty)With put.default TwithPutBoolean(java.lang.Object aKey, java.lang.Boolean aValue)Sets theBooleanvalue for the property referred to by the key.default TwithPutBoolean(java.lang.String aKey, java.lang.Boolean aValue)Sets theBooleanvalue for the property referred to by the key.default TwithPutByte(java.lang.Object aKey, java.lang.Byte aValue)Sets theBytevalue for the property referred to by the key.default TwithPutByte(java.lang.String aKey, java.lang.Byte aValue)Sets theBytevalue for the property referred to by the key.default TwithPutDouble(java.lang.Object aKey, java.lang.Double aValue)Sets theDoublevalue for the property referred to by the key.default TwithPutDouble(java.lang.String aKey, java.lang.Double aValue)Sets theDoublevalue for the property referred to by the key.default TwithPutFloat(java.lang.Object aKey, java.lang.Float aValue)Sets theFloatvalue for the property referred to by the key.default TwithPutFloat(java.lang.String aKey, java.lang.Float aValue)Sets theFloatvalue for the property referred to by the key.default TwithPutInteger(java.lang.Object aKey, java.lang.Integer aValue)Sets theIntegervalue for the property referred to by the key.default TwithPutInteger(java.lang.String aKey, java.lang.Integer aValue)Sets theIntegervalue for the property referred to by the key.default TwithPutLong(java.lang.Object aKey, java.lang.Long aValue)Sets theLongvalue for the property referred to by the key.default TwithPutLong(java.lang.String aKey, java.lang.Long aValue)Sets theLongvalue for the property referred to by the key.default TwithPutShort(java.lang.Object aKey, java.lang.Short aValue)Sets theShortvalue for the property referred to by the key.default TwithPutShort(java.lang.String aKey, java.lang.Short aValue)Sets theShortvalue 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
-
Methods inherited from interface org.refcodes.structure.PropertiesAccessorMixin
asArray, asArray, asArray, asArray, asBooleanArray, asBooleanArray, asBooleanArray, asBooleanArray, asByteArray, asByteArray, asByteArray, asByteArray, asCharacterArray, asCharacterArray, asCharacterArray, asCharacterArray, asDoubleArray, asDoubleArray, asDoubleArray, asDoubleArray, asFloatArray, asFloatArray, asFloatArray, asFloatArray, asIntegerArray, asIntegerArray, asIntegerArray, asIntegerArray, asLongArray, asLongArray, asLongArray, asLongArray, asShortArray, asShortArray, asShortArray, asShortArray, getBoolean, getBoolean, getBooleanOr, getBooleanOr, getByte, getByte, getByteOr, getByteOr, getCharacter, getCharacter, getCharacterOr, getCharacterOr, getDouble, getDouble, getDoubleOr, getDoubleOr, getFloat, getFloat, getFloatOr, getFloatOr, getInteger, getInteger, getIntegerOr, getIntegerOr, getLong, getLong, getLongOr, getLongOr, getShort, getShort, getShortOr, getShortOr
-
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(Property aProperty)
With put.- Parameters:
aProperty- the property- Returns:
- the properties builder
-
withPut
default T withPut(java.lang.String aKey, java.lang.String aValue)
With put.- Parameters:
aKey- the keyaValue- the value- Returns:
- the properties builder
-
withPutBoolean
default T withPutBoolean(java.lang.String aKey, java.lang.Boolean aValue)
Sets theBooleanvalue for the property referred to by the key. As property keys and values are of typeString, theBooleanvalue is converted accordingly.- Parameters:
aKey- The key for which to retrieve the value.aValue- TheBooleanrepresentation for theStringvalue.- Returns:
- This instance for further builder method calls.
-
withPutBoolean
default T withPutBoolean(java.lang.Object aKey, java.lang.Boolean aValue)
Sets theBooleanvalue for the property referred to by the key. As property keys and values are of typeString, theBooleanvalue is converted accordingly.- Parameters:
aKey- The key for which to retrieve the value.aValue- TheBooleanrepresentation for theStringvalue.- Returns:
- This instance for further builder method calls.
-
withPutByte
default T withPutByte(java.lang.String aKey, java.lang.Byte aValue)
Sets theBytevalue for the property referred to by the key. As property keys and values are of typeString, theBytevalue is converted accordingly.- Parameters:
aKey- The key for which to retrieve the value.aValue- TheByterepresentation for theStringvalue.- Returns:
- This instance for further builder method calls.
-
withPutByte
default T withPutByte(java.lang.Object aKey, java.lang.Byte aValue)
Sets theBytevalue for the property referred to by the key. As property keys and values are of typeString, theBytevalue is converted accordingly.- Parameters:
aKey- The key for which to retrieve the value.aValue- TheByterepresentation for theStringvalue.- Returns:
- This instance for further builder method calls.
-
withPutDouble
default T withPutDouble(java.lang.String aKey, java.lang.Double aValue)
Sets theDoublevalue for the property referred to by the key. As property keys and values are of typeString, theDoublevalue is converted accordingly.- Parameters:
aKey- The key for which to retrieve the value.aValue- TheDoublerepresentation for theStringvalue.- Returns:
- This instance for further builder method calls.
-
withPutDouble
default T withPutDouble(java.lang.Object aKey, java.lang.Double aValue)
Sets theDoublevalue for the property referred to by the key. As property keys and values are of typeString, theDoublevalue is converted accordingly.- Parameters:
aKey- The key for which to retrieve the value.aValue- TheDoublerepresentation for theStringvalue.- Returns:
- This instance for further builder method calls.
-
withPutFloat
default T withPutFloat(java.lang.String aKey, java.lang.Float aValue)
Sets theFloatvalue for the property referred to by the key. As property keys and values are of typeString, theFloatvalue is converted accordingly.- Parameters:
aKey- The key for which to retrieve the value.aValue- TheFloatrepresentation for theStringvalue.- Returns:
- This instance for further builder method calls.
-
withPutFloat
default T withPutFloat(java.lang.Object aKey, java.lang.Float aValue)
Sets theFloatvalue for the property referred to by the key. As property keys and values are of typeString, theFloatvalue is converted accordingly.- Parameters:
aKey- The key for which to retrieve the value.aValue- TheFloatrepresentation for theStringvalue.- Returns:
- This instance for further builder method calls.
-
withPutInteger
default T withPutInteger(java.lang.String aKey, java.lang.Integer aValue)
Sets theIntegervalue for the property referred to by the key. As property keys and values are of typeString, theIntegervalue is converted accordingly.- Parameters:
aKey- The key for which to retrieve the value.aValue- TheIntegerrepresentation for theStringvalue.- Returns:
- This instance for further builder method calls.
-
withPutInteger
default T withPutInteger(java.lang.Object aKey, java.lang.Integer aValue)
Sets theIntegervalue for the property referred to by the key. As property keys and values are of typeString, theIntegervalue is converted accordingly.- Parameters:
aKey- The key for which to retrieve the value.aValue- TheIntegerrepresentation for theStringvalue.- Returns:
- This instance for further builder method calls.
-
withPutLong
default T withPutLong(java.lang.String aKey, java.lang.Long aValue)
Sets theLongvalue for the property referred to by the key. As property keys and values are of typeString, theLongvalue is converted accordingly.- Parameters:
aKey- The key for which to retrieve the value.aValue- TheLongrepresentation for theStringvalue.- Returns:
- This instance for further builder method calls.
-
withPutLong
default T withPutLong(java.lang.Object aKey, java.lang.Long aValue)
Sets theLongvalue for the property referred to by the key. As property keys and values are of typeString, theLongvalue is converted accordingly.- Parameters:
aKey- The key for which to retrieve the value.aValue- TheLongrepresentation for theStringvalue.- Returns:
- This instance for further builder method calls.
-
withPutShort
default T withPutShort(java.lang.String aKey, java.lang.Short aValue)
Sets theShortvalue for the property referred to by the key. As property keys and values are of typeString, theShortvalue is converted accordingly.- Parameters:
aKey- The key for which to retrieve the value.aValue- TheShortrepresentation for theStringvalue.- Returns:
- This instance for further builder method calls.
-
withPutShort
default T withPutShort(java.lang.Object aKey, java.lang.Short aValue)
Sets theShortvalue for the property referred to by the key. As property keys and values are of typeString, theShortvalue is converted accordingly.- Parameters:
aKey- The key for which to retrieve the value.aValue- TheShortrepresentation for theStringvalue.- Returns:
- This instance for further builder method calls.
-
-