public class ActivatableArrayList<E> extends java.util.ArrayList<E> implements ActivatableList<E>
| Constructor and Description |
|---|
ActivatableArrayList() |
ActivatableArrayList(java.util.Collection<E> list) |
ActivatableArrayList(int size) |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(ActivationPurpose purpose)
should be called by every reading field access of an object.
|
boolean |
add(E e) |
void |
add(int index,
E element) |
boolean |
addAll(java.util.Collection<? extends E> c) |
boolean |
addAll(int index,
java.util.Collection<? extends E> c) |
void |
bind(Activator activator)
called by db4o upon instantiation.
|
void |
clear() |
java.lang.Object |
clone() |
boolean |
contains(java.lang.Object o) |
boolean |
containsAll(java.util.Collection<?> c) |
void |
ensureCapacity(int minCapacity) |
boolean |
equals(java.lang.Object o) |
E |
get(int index) |
int |
hashCode() |
int |
indexOf(java.lang.Object o) |
boolean |
isEmpty() |
java.util.Iterator<E> |
iterator() |
int |
lastIndexOf(java.lang.Object o) |
java.util.ListIterator<E> |
listIterator() |
java.util.ListIterator<E> |
listIterator(int index) |
E |
remove(int index) |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
protected void |
removeRange(int fromIndex,
int toIndex) |
boolean |
retainAll(java.util.Collection<?> c) |
E |
set(int index,
E element) |
int |
size() |
java.util.List<E> |
subList(int fromIndex,
int toIndex) |
java.lang.Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
java.lang.String |
toString() |
void |
trimToSize() |
public ActivatableArrayList()
public ActivatableArrayList(int size)
public ActivatableArrayList(java.util.Collection<E> list)
public void activate(ActivationPurpose purpose)
ActivatableActivator.activate(ActivationPurpose) on the Activator
that was previously passed to Activatable.bind(Activator).activate in interface Activatablepurpose - TODOpublic void bind(Activator activator)
ActivatableActivator in a transient field of the object.bind in interface Activatableactivator - the Activatorpublic boolean add(E e)
public void add(int index,
E element)
public boolean addAll(java.util.Collection<? extends E> c)
public boolean addAll(int index,
java.util.Collection<? extends E> c)
public void clear()
public java.lang.Object clone()
clone in class java.util.ArrayList<E>public boolean contains(java.lang.Object o)
public boolean containsAll(java.util.Collection<?> c)
public boolean equals(java.lang.Object o)
public E get(int index)
public int hashCode()
public int indexOf(java.lang.Object o)
public java.util.Iterator<E> iterator()
public boolean isEmpty()
public int lastIndexOf(java.lang.Object o)
public java.util.ListIterator<E> listIterator()
public java.util.ListIterator<E> listIterator(int index)
public E remove(int index)
public boolean remove(java.lang.Object o)
public int size()
public java.util.List<E> subList(int fromIndex, int toIndex)
public java.lang.Object[] toArray()
public <T> T[] toArray(T[] a)
public boolean removeAll(java.util.Collection<?> c)
protected void removeRange(int fromIndex,
int toIndex)
removeRange in class java.util.ArrayList<E>public void ensureCapacity(int minCapacity)
ensureCapacity in class java.util.ArrayList<E>public void trimToSize()
trimToSize in class java.util.ArrayList<E>public boolean retainAll(java.util.Collection<?> c)
public java.lang.String toString()
toString in class java.util.AbstractCollection<E>