V - The generic valuepublic interface MutableConvertibleValues<V> extends ConvertibleValues<V>
ConvertibleValues that is mutable.EMPTY| Modifier and Type | Method and Description |
|---|---|
MutableConvertibleValues<V> |
clear()
Clear all values.
|
static <T> MutableConvertibleValues<T> |
of(Map<? extends CharSequence,T> values)
Creates a new
ConvertibleValues for the values. |
MutableConvertibleValues<V> |
put(CharSequence key,
V value)
Insert a value for the given key and value.
|
default MutableConvertibleValues<V> |
putAll(ConvertibleValues<V> values)
Put all the values from the given values into this values instance.
|
default MutableConvertibleValues<V> |
putAll(Map<CharSequence,V> values)
Put all the values from the given map into this values instance.
|
MutableConvertibleValues<V> |
remove(CharSequence key)
Remove a value for the given key.
|
asMap, asMap, asProperties, contains, empty, forEach, getValueType, isEmpty, iterator, names, subMap, subMap, subMap, valuesget, get, get, getforEach, spliteratorMutableConvertibleValues<V> put(CharSequence key, @Nullable V value)
key - The keyvalue - The valueMutableConvertibleValues<V> remove(CharSequence key)
key - The keyMutableConvertibleValues<V> clear()
default MutableConvertibleValues<V> putAll(Map<CharSequence,V> values)
values - The valuesdefault MutableConvertibleValues<V> putAll(ConvertibleValues<V> values)
values - The valuesstatic <T> MutableConvertibleValues<T> of(Map<? extends CharSequence,T> values)
ConvertibleValues for the values.of in interface ConvertibleValues<V>T - The target generic typevalues - A map of values