public interface WritableList<T> extends ObservableList<T>, WritableValue<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(int index,
T v) |
boolean |
add(T v) |
default boolean |
addAll(T... all) |
boolean |
addCollection(Collection<? extends T> all) |
void |
clear() |
boolean |
isEmpty() |
boolean |
remove(T item) |
void |
removeAll(Predicate<T> a) |
default boolean |
removeAll(T... all) |
T |
removeAt(int index) |
boolean |
removeCollection(Collection<? extends T> all) |
default void |
removeFirst() |
default void |
removeLast() |
void |
set(int index,
T v) |
void |
set(T value)
convenient method to replace all the values of the list with a singleton
or null
|
default boolean |
setAll(T... all) |
boolean |
setCollection(Collection<? extends T> all) |
PropertyVetos |
vetos() |
contains, findAll, findAllIndexes, findFirst, findFirst, findFirst, findFirstIndex, findFirstIndex, findFirstIndex, findFirstIndexOf, first, get, get, last, readOnly, size, stream, toListforEach, iterator, spliteratorbind, bind, bind, bind, bindSource, bindTo, getOrCompute, setAndBind, setAndBindConvert, setUsing, setUsingNonNullbindConvert, bindTarget, doNonNull, getOr, getOrDefault, getRequired, isNotNull, isNull, mapBooleanValue, mapDoubleValue, mapEqualsValue, mapFloatValue, mapIntValue, mapLongValue, mapNotEqualsValue, mapStringValue, mapValue, mapValue, propertyClass, unbind, withValueadjustersevents, getChildProperty, isWritable, onChange, onChange, onChangeAndInit, onChangeAndInit, onPropagatedChange, onPropagatedChange, onPropagatedChangeAndInit, onPropagatedChangeAndInit, propertyName, propertyType, userObjects, with, withvoid set(T value)
set in interface SetValueModel<T>set in interface WritableValue<T>value - singleton or nullboolean isEmpty()
void clear()
default void removeLast()
default void removeFirst()
boolean add(int index,
T v)
boolean add(T v)
boolean setCollection(Collection<? extends T> all)
default boolean setAll(T... all)
boolean addCollection(Collection<? extends T> all)
default boolean addAll(T... all)
boolean removeCollection(Collection<? extends T> all)
default boolean removeAll(T... all)
void set(int index,
T v)
T removeAt(int index)
boolean remove(T item)
PropertyVetos vetos()
vetos in interface WritablePropertyCopyright © 2022 vpc open source initiative. All rights reserved.