public abstract class WritableListAdapter<T> extends Object implements WritableList<T>
| Constructor and Description |
|---|
WritableListAdapter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(int index,
T v) |
boolean |
add(T v) |
boolean |
addAll(T... extra) |
boolean |
addCollection(Collection<? extends T> all) |
PropertyAdjusters |
adjusters() |
void |
clear() |
boolean |
contains(T a) |
PropertyListeners |
events() |
List<T> |
findAll(Predicate<T> a) |
int[] |
findAllIndexes(Predicate<T> a) |
T |
findFirst(Predicate<T> a) |
T |
findFirst(Predicate<T> a,
int from) |
T |
findFirst(Predicate<T> a,
int from,
int to) |
int |
findFirstIndex(Predicate<T> a) |
int |
findFirstIndex(Predicate<T> a,
int from) |
int |
findFirstIndex(Predicate<T> a,
int from,
int to) |
T |
get()
convenient method to return the first element or null
|
T |
get(int index) |
protected abstract WritableList<T> |
getAdaptee() |
boolean |
isEmpty() |
boolean |
isWritable() |
Iterator<T> |
iterator() |
String |
propertyName() |
PropertyType |
propertyType() |
ObservableList<T> |
readOnly() |
boolean |
remove(T item) |
void |
removeAll(Predicate<T> a) |
boolean |
removeAll(T... extra) |
T |
removeAt(int index) |
boolean |
removeCollection(Collection<? extends T> all) |
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
|
boolean |
setAll(T... extra) |
boolean |
setCollection(Collection<? extends T> all) |
int |
size() |
List<T> |
toList() |
String |
toString() |
UserObjects |
userObjects() |
PropertyVetos |
vetos() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitremoveFirst, removeLastfindFirstIndexOf, first, last, streamforEach, 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, withValuegetChildProperty, onChange, onChange, onChangeAndInit, onChangeAndInit, onPropagatedChange, onPropagatedChange, onPropagatedChangeAndInit, onPropagatedChangeAndInit, with, withprotected abstract WritableList<T> getAdaptee()
public void clear()
clear in interface WritableList<T>public void removeAll(Predicate<T> a)
removeAll in interface WritableList<T>public boolean add(int index,
T v)
add in interface WritableList<T>public boolean add(T v)
add in interface WritableList<T>public void set(int index,
T v)
set in interface WritableList<T>public T removeAt(int index)
removeAt in interface WritableList<T>public boolean remove(T item)
remove in interface WritableList<T>public PropertyVetos vetos()
vetos in interface WritableList<T>vetos in interface WritablePropertypublic T get(int index)
get in interface ObservableList<T>public int size()
size in interface ObservableList<T>public int[] findAllIndexes(Predicate<T> a)
findAllIndexes in interface ObservableList<T>public T findFirst(Predicate<T> a, int from)
findFirst in interface ObservableList<T>public T findFirst(Predicate<T> a, int from, int to)
findFirst in interface ObservableList<T>public int findFirstIndex(Predicate<T> a)
findFirstIndex in interface ObservableList<T>public int findFirstIndex(Predicate<T> a, int from)
findFirstIndex in interface ObservableList<T>public int findFirstIndex(Predicate<T> a, int from, int to)
findFirstIndex in interface ObservableList<T>public List<T> toList()
toList in interface ObservableList<T>public ObservableList<T> readOnly()
readOnly in interface ObservableList<T>readOnly in interface ObservableValue<T>readOnly in interface Propertypublic String propertyName()
propertyName in interface Propertypublic PropertyType propertyType()
propertyType in interface Propertypublic boolean isWritable()
isWritable in interface Propertypublic UserObjects userObjects()
userObjects in interface Propertypublic PropertyListeners events()
public boolean contains(T a)
contains in interface ObservableList<T>public boolean addAll(T... extra)
addAll in interface WritableList<T>public boolean removeAll(T... extra)
removeAll in interface WritableList<T>public T get()
ObservableListget in interface GetValueModel<T>get in interface ObservableList<T>get in interface ObservableValue<T>public void set(T value)
WritableListset in interface SetValueModel<T>set in interface WritableList<T>set in interface WritableValue<T>value - singleton or nullpublic boolean isEmpty()
isEmpty in interface WritableList<T>public boolean setAll(T... extra)
setAll in interface WritableList<T>public boolean setCollection(Collection<? extends T> all)
setCollection in interface WritableList<T>public boolean addCollection(Collection<? extends T> all)
addCollection in interface WritableList<T>public boolean removeCollection(Collection<? extends T> all)
removeCollection in interface WritableList<T>public PropertyAdjusters adjusters()
adjusters in interface WritablePropertyCopyright © 2022 vpc open source initiative. All rights reserved.