Interface WritableListValue<E>
-
- Type Parameters:
E- type of theelements.
- All Superinterfaces:
ReadableCollectionValue<List<E>,E>,ReadableContainerValue<List<E>,E>,ReadableListValue<E>,ReadableObjectValue<List<E>>,ReadableTypedObjectValue<List<E>>,ReadableTypedValue<List<E>>,ReadableValue<List<E>>,Supplier<List<E>>,WritableCollectionValue<List<E>,E>,WritableContainerValue<List<E>,E>,WritableObjectValue<List<E>>,WritableValue<List<E>>
- All Known Subinterfaces:
WritableListProperty<E>
- All Known Implementing Classes:
ListProperty
public interface WritableListValue<E> extends WritableCollectionValue<List<E>,E>, ReadableListValue<E>
- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default List<E>getOrCreate()-
Methods inherited from interface io.github.mmm.value.observable.container.collection.ReadableCollectionValue
size
-
Methods inherited from interface io.github.mmm.value.observable.container.ReadableContainerValue
isEmpty
-
Methods inherited from interface io.github.mmm.value.observable.container.list.ReadableListValue
getSafe, getValueClass
-
Methods inherited from interface io.github.mmm.value.observable.object.ReadableObjectValue
getValue
-
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
default List<E> getOrCreate()
- Specified by:
getOrCreatein interfaceWritableContainerValue<List<E>,E>- Returns:
- the current null-safe
value. UnlikeReadableValue.getSafe()this method will modify and initialize thevaluewith an empty mutable container if it wasnull.
-
-