Type
- the typepublic class EWritableList<Type>
extends AbstractObservableList
NotifyingList
PROVISIONAL: This API is subject to arbitrary change, including renaming or removal.
Constructor and Description |
---|
EWritableList(NotifyingList<Type> wrappedList)
New writable list wrapping the
NotifyingList |
EWritableList(Realm realm,
NotifyingList<Type> wrappedList)
New writable list wrapping the
NotifyingList and using the
Realm |
EWritableList(Realm realm,
NotifyingList<Type> wrappedList,
java.lang.Class<Type> elementType)
New writable list wrapping the
NotifyingList |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
java.lang.Object element) |
boolean |
add(java.lang.Object o) |
boolean |
addAll(java.util.Collection c) |
boolean |
addAll(int index,
java.util.Collection c) |
void |
clear() |
boolean |
contains(java.lang.Object o) |
boolean |
containsAll(java.util.Collection c) |
void |
dispose() |
int |
doGetSize() |
protected void |
firstListenerAdded() |
java.lang.Object |
get(int index) |
java.lang.Object |
getElementType() |
int |
indexOf(java.lang.Object o) |
boolean |
isEmpty() |
boolean |
isStale() |
java.util.Iterator<Type> |
iterator() |
int |
lastIndexOf(java.lang.Object o) |
protected void |
lastListenerRemoved() |
java.util.ListIterator<Type> |
listIterator() |
java.util.ListIterator<Type> |
listIterator(int index) |
java.lang.Object |
move(int oldIndex,
int newIndex) |
java.lang.Object |
remove(int index) |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection c) |
boolean |
retainAll(java.util.Collection c) |
java.lang.Object |
set(int index,
java.lang.Object element) |
java.util.List<Type> |
subList(int fromIndex,
int toIndex) |
java.lang.Object[] |
toArray() |
java.lang.Object[] |
toArray(java.lang.Object[] a) |
public EWritableList(NotifyingList<Type> wrappedList)
NotifyingList
wrappedList
- the wrapped listpublic EWritableList(Realm realm, NotifyingList<Type> wrappedList)
NotifyingList
and using the
Realm
realm
- the realmwrappedList
- the wrapped listpublic EWritableList(Realm realm, NotifyingList<Type> wrappedList, java.lang.Class<Type> elementType)
NotifyingList
realm
- the realmwrappedList
- the wrapped listelementType
- the element typeprotected void firstListenerAdded()
protected void lastListenerRemoved()
public void dispose()
public boolean add(java.lang.Object o)
public boolean addAll(java.util.Collection c)
public boolean addAll(int index, java.util.Collection c)
public boolean contains(java.lang.Object o)
public boolean containsAll(java.util.Collection c)
public java.lang.Object get(int index)
public java.lang.Object getElementType()
public int indexOf(java.lang.Object o)
public boolean isEmpty()
public java.util.Iterator<Type> iterator()
public int lastIndexOf(java.lang.Object o)
public java.util.ListIterator<Type> listIterator()
public java.util.ListIterator<Type> listIterator(int index)
public java.lang.Object move(int oldIndex, int newIndex)
public boolean remove(java.lang.Object o)
public java.lang.Object remove(int index)
public boolean removeAll(java.util.Collection c)
public boolean retainAll(java.util.Collection c)
public java.lang.Object set(int index, java.lang.Object element)
public int doGetSize()
public java.util.List<Type> subList(int fromIndex, int toIndex)
public java.lang.Object[] toArray()
public java.lang.Object[] toArray(java.lang.Object[] a)
public void add(int index, java.lang.Object element)
public void clear()
public boolean isStale()