public abstract class AbstractWritableListImpl<T> extends AbstractProperty implements WritableList<T>
adjusters, listeners, vetos| Constructor and Description |
|---|
AbstractWritableListImpl(String name,
PropertyType elementType) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
T v) |
void |
add(T v) |
protected abstract void |
addImpl(int index,
T v) |
boolean |
contains(T a) |
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(int index) |
protected abstract T |
getImpl(int index) |
protected abstract int |
indexOfImpl(T v) |
boolean |
isWritable() |
Iterator<T> |
iterator() |
ObservableList<T> |
readOnly() |
T |
remove(int index) |
boolean |
remove(T item) |
void |
removeAll() |
void |
removeAll(Predicate<T> a) |
protected abstract T |
removeImpl(int index) |
void |
set(int index,
T v) |
protected abstract T |
setImpl(int index,
T v) |
int |
size() |
protected abstract int |
sizeImpl() |
List<T> |
toList() |
String |
toString() |
adjusters, listeners, name, type, userObjects, vetosclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitvetosstreamname, type, userObjectslistenersforEach, spliteratorpublic AbstractWritableListImpl(String name, PropertyType elementType)
public List<T> toList()
toList in interface ObservableList<T>public void removeAll()
removeAll in interface WritableList<T>public void removeAll(Predicate<T> a)
removeAll in interface WritableList<T>public void add(int index,
T v)
add in interface WritableList<T>public void add(T v)
add in interface WritableList<T>public void set(int index,
T v)
set in interface WritableList<T>public T remove(int index)
remove in interface WritableList<T>public boolean remove(T item)
remove in interface WritableList<T>public ObservableList<T> readOnly()
readOnly in interface ObservableList<T>readOnly in interface Propertyprotected abstract void addImpl(int index,
T v)
protected abstract int indexOfImpl(T v)
protected abstract T removeImpl(int index)
protected abstract T getImpl(int index)
protected abstract int sizeImpl()
public 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 boolean contains(T a)
contains 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 boolean isWritable()
isWritable in interface Propertypublic String toString()
toString in class AbstractPropertyCopyright © 2021 vpc open source initiative. All rights reserved.