public class ActivatableLinkedList<E> extends java.util.LinkedList<E> implements ActivatableList<E>
| Constructor and Description |
|---|
ActivatableLinkedList() |
ActivatableLinkedList(java.util.Collection<E> collection) |
| 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 |
addFirst(E e) |
void |
addLast(E e) |
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) |
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) |
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) |
descendingIterator, element, getFirst, getLast, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrencepublic ActivatableLinkedList()
public ActivatableLinkedList(java.util.Collection<E> collection)
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 addFirst(E e)
public void addLast(E e)
public void clear()
public java.lang.Object clone()
clone in class java.util.LinkedList<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)