java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<T>
eu.hansolo.toolbox.ObservableList<T>
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<T>,Collection<T>,List<T>,RandomAccess
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends T> collection) booleanaddAll(Collection<? extends T> collection) voidaddListChangeObserver(EvtType type, EvtObserver<ListChangeEvt> observer) voidclear()clone()booleanvoidensureCapacity(int minCapacity) booleanvoidvoidget(int index) inthashCode()intbooleanisEmpty()iterator()intlastIndexOf(Object obj) listIterator(int index) remove(int index) booleanbooleanremoveAll(Collection<?> collection) voidbooleanvoidremoveListChangeObserver(EvtType type, EvtObserver<ListChangeEvt> observer) voidreplaceAll(UnaryOperator<T> operator) booleanretainAll(Collection<?> collection) intsize()voidsort(Comparator<? super T> comparator) subList(int fromIndex, int toIndex) Object[]toArray()<T> T[]toArray(T[] a) voidMethods inherited from class java.util.ArrayList
removeRangeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
containsAll
-
Constructor Details
-
ObservableList
public ObservableList() -
ObservableList
public ObservableList(int capacity) -
ObservableList
-
-
Method Details
-
get
-
set
-
add
-
add
-
addAll
-
addAll
-
remove
-
remove
-
removeAll
-
clear
public void clear() -
retainAll
-
contains
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<T>- Overrides:
lastIndexOfin classArrayList<T>
-
trimToSize
public void trimToSize()- Overrides:
trimToSizein classArrayList<T>
-
ensureCapacity
public void ensureCapacity(int minCapacity) - Overrides:
ensureCapacityin classArrayList<T>
-
size
public int size() -
isEmpty
public boolean isEmpty() -
toArray
-
toArray
public <T> T[] toArray(T[] a) -
listIterator
- Specified by:
listIteratorin interfaceList<T>- Overrides:
listIteratorin classArrayList<T>
-
listIterator
- Specified by:
listIteratorin interfaceList<T>- Overrides:
listIteratorin classArrayList<T>
-
iterator
-
subList
-
equals
-
hashCode
public int hashCode() -
clone
-
forEach
-
spliterator
- Specified by:
spliteratorin interfaceCollection<T>- Specified by:
spliteratorin interfaceIterable<T>- Specified by:
spliteratorin interfaceList<T>- Overrides:
spliteratorin classArrayList<T>
-
removeIf
-
replaceAll
- Specified by:
replaceAllin interfaceList<T>- Overrides:
replaceAllin classArrayList<T>
-
sort
-
addListChangeObserver
-
removeListChangeObserver
-
removeAllListChangeObservers
public void removeAllListChangeObservers() -
fireListChangeEvt
-