Interface WritableContainerValue<C,E>
-
- Type Parameters:
C
- type of the containervalue
.E
- type of the contained elements (collection element
ormap value
).
- All Superinterfaces:
ReadableContainerValue<C,E>
,ReadableObjectValue<C>
,ReadableTypedObjectValue<C>
,ReadableTypedValue<C>
,ReadableValue<C>
,Supplier<C>
,WritableObjectValue<C>
,WritableValue<C>
- All Known Subinterfaces:
io.github.mmm.property.container.collection.WritableCollectionProperty<V,E>
,WritableCollectionValue<C,E>
,WritableContainerProperty<V,E>
,WritableListProperty<E>
,WritableListValue<E>
,WritableMapProperty<K,V>
,WritableMapValue<K,V>
,WritableSetProperty<E>
,WritableSetValue<E>
- All Known Implementing Classes:
io.github.mmm.property.container.collection.CollectionProperty
,ContainerProperty
,ListProperty
,MapProperty
,SetProperty
public interface WritableContainerValue<C,E> extends ReadableContainerValue<C,E>, WritableObjectValue<C>
- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description C
getOrCreate()
-
Methods inherited from interface io.github.mmm.value.observable.container.ReadableContainerValue
isEmpty, size
-
Methods inherited from interface io.github.mmm.value.observable.object.ReadableObjectValue
getSafe, getValue
-
Methods inherited from interface io.github.mmm.value.ReadableTypedValue
getValueClass
-
Methods inherited from interface io.github.mmm.value.ReadableValue
get
-
Methods inherited from interface io.github.mmm.value.observable.object.WritableObjectValue
setValue
-
Methods inherited from interface io.github.mmm.value.WritableValue
set
-
-
-
-
Method Detail
-
getOrCreate
C getOrCreate()
- Returns:
- the current null-safe
value
. UnlikeReadableValue.getSafe()
this method will modify and initialize thevalue
with an empty mutable container if it wasnull
.
-
-