Class ObservableList<T>
java.lang.Object
net.binis.codegen.spring.collection.ObservableList<T>
- All Implemented Interfaces:
Iterable<T>,Collection<T>,List<T>
public class ObservableList<T> extends Object implements List<T>
-
Constructor Summary
Constructors Constructor Description ObservableList(List<T> list, UnaryOperator<T> onValueAdd) -
Method Summary
Modifier and Type Method Description voidadd(int index, T element)booleanadd(T o)booleanaddAll(int index, Collection c)booleanaddAll(Collection c)voidclear()booleancontains(Object o)booleancontainsAll(Collection c)Tget(int index)intindexOf(Object o)booleanisEmpty()Iteratoriterator()intlastIndexOf(Object o)ListIterator<T>listIterator()ListIterator<T>listIterator(int index)Tremove(int index)booleanremove(Object o)booleanremoveAll(Collection c)booleanretainAll(Collection c)Tset(int index, T element)intsize()List<T>subList(int fromIndex, int toIndex)Object[]toArray()<V> V[]toArray(V[] a)
-
Constructor Details
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
contains
-
iterator
-
toArray
-
add
-
remove
-
addAll
-
addAll
-
clear
public void clear() -
get
-
set
-
add
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<T>
-
listIterator
- Specified by:
listIteratorin interfaceList<T>
-
listIterator
- Specified by:
listIteratorin interfaceList<T>
-
subList
-
retainAll
-
removeAll
-
containsAll
- Specified by:
containsAllin interfaceCollection<T>- Specified by:
containsAllin interfaceList<T>
-
toArray
public <V> V[] toArray(V[] a)
-