public abstract class DelegatingObservableList<E> extends ObservableListBase<E> implements ObservableList<E>
modCount| Constructor and Description |
|---|
DelegatingObservableList(ObservableList<E> delegate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E e) |
void |
add(int index,
E element) |
boolean |
addAll(Collection<? extends E> c) |
boolean |
addAll(E... elements) |
boolean |
addAll(int index,
Collection<? extends E> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
FilteredList<E> |
filtered(Predicate<E> predicate) |
void |
forEach(Consumer<? super E> action) |
E |
get(int index) |
protected ObservableList<E> |
getDelegate() |
int |
indexOf(Object o) |
boolean |
isEmpty() |
Iterator<E> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<E> |
listIterator() |
ListIterator<E> |
listIterator(int index) |
Stream<E> |
parallelStream() |
E |
remove(int index) |
void |
remove(int from,
int to) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
removeAll(E... elements) |
boolean |
removeIf(Predicate<? super E> filter) |
void |
replaceAll(UnaryOperator<E> operator) |
boolean |
retainAll(Collection<?> c) |
boolean |
retainAll(E... elements) |
E |
set(int index,
E element) |
boolean |
setAll(Collection<? extends E> col) |
boolean |
setAll(E... elements) |
int |
size() |
void |
sort(Comparator<? super E> c) |
SortedList<E> |
sorted() |
SortedList<E> |
sorted(Comparator<E> comparator) |
protected abstract void |
sourceChanged(ListChangeListener.Change<? extends E> c) |
Spliterator<E> |
spliterator() |
Stream<E> |
stream() |
List<E> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
addListener, addListener, beginChange, endChange, fireChange, hasListeners, nextAdd, nextPermutation, nextRemove, nextRemove, nextReplace, nextSet, nextUpdate, removeListener, removeListenerequals, hashCode, removeRangetoStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddListener, removeListeneraddListener, removeListenerpublic DelegatingObservableList(@Nonnull ObservableList<E> delegate)
@Nonnull protected ObservableList<E> getDelegate()
protected abstract void sourceChanged(@Nonnull ListChangeListener.Change<? extends E> c)
public boolean removeAll(E... elements)
removeAll in interface ObservableList<E>removeAll in class ObservableListBase<E>public boolean removeIf(Predicate<? super E> filter)
removeIf in interface Collection<E>public void remove(int from,
int to)
remove in interface ObservableList<E>remove in class ObservableListBase<E>public E remove(int index)
public int size()
size in interface Collection<E>size in interface List<E>size in class AbstractCollection<E>public int lastIndexOf(Object o)
lastIndexOf in interface List<E>lastIndexOf in class AbstractList<E>public boolean isEmpty()
isEmpty in interface Collection<E>isEmpty in interface List<E>isEmpty in class AbstractCollection<E>public SortedList<E> sorted()
sorted in interface ObservableList<E>public Stream<E> parallelStream()
parallelStream in interface Collection<E>public boolean addAll(E... elements)
addAll in interface ObservableList<E>addAll in class ObservableListBase<E>public Spliterator<E> spliterator()
spliterator in interface Iterable<E>spliterator in interface Collection<E>spliterator in interface List<E>public void sort(Comparator<? super E> c)
public void add(int index,
E element)
public void replaceAll(UnaryOperator<E> operator)
replaceAll in interface List<E>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<E>containsAll in interface List<E>containsAll in class AbstractCollection<E>public void clear()
clear in interface Collection<E>clear in interface List<E>clear in class AbstractList<E>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<E>removeAll in interface List<E>removeAll in class AbstractCollection<E>public <T> T[] toArray(T[] a)
toArray in interface Collection<E>toArray in interface List<E>toArray in class AbstractCollection<E>public boolean remove(Object o)
remove in interface Collection<E>remove in interface List<E>remove in class AbstractCollection<E>public boolean addAll(Collection<? extends E> c)
addAll in interface Collection<E>addAll in interface List<E>addAll in class AbstractCollection<E>public boolean retainAll(E... elements)
retainAll in interface ObservableList<E>retainAll in class ObservableListBase<E>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<E>retainAll in interface List<E>retainAll in class AbstractCollection<E>public SortedList<E> sorted(Comparator<E> comparator)
sorted in interface ObservableList<E>public FilteredList<E> filtered(Predicate<E> predicate)
filtered in interface ObservableList<E>public Stream<E> stream()
stream in interface Collection<E>public boolean contains(Object o)
contains in interface Collection<E>contains in interface List<E>contains in class AbstractCollection<E>public boolean setAll(Collection<? extends E> col)
setAll in interface ObservableList<E>setAll in class ObservableListBase<E>public ListIterator<E> listIterator(int index)
listIterator in interface List<E>listIterator in class AbstractList<E>public boolean add(E e)
add in interface Collection<E>add in interface List<E>add in class AbstractList<E>public boolean addAll(int index,
Collection<? extends E> c)
public Object[] toArray()
toArray in interface Collection<E>toArray in interface List<E>toArray in class AbstractCollection<E>public ListIterator<E> listIterator()
listIterator in interface List<E>listIterator in class AbstractList<E>public E get(int index)
public boolean setAll(E... elements)
setAll in interface ObservableList<E>setAll in class ObservableListBase<E>