public class ActivatableTreeSet<E> extends java.util.TreeSet<E> implements ActivatableSet<E>
| Constructor and Description |
|---|
ActivatableTreeSet() |
ActivatableTreeSet(java.util.Collection<? extends E> c) |
ActivatableTreeSet(java.util.Comparator<? super E> comparator) |
ActivatableTreeSet(java.util.SortedSet<E> s) |
| 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) |
boolean |
addAll(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) |
E |
first() |
java.util.SortedSet<E> |
headSet(E toElement) |
boolean |
isEmpty() |
java.util.Iterator<E> |
iterator() |
E |
last() |
boolean |
remove(java.lang.Object o) |
int |
size() |
java.util.SortedSet<E> |
subSet(E fromElement,
E toElement) |
java.util.SortedSet<E> |
tailSet(E fromElement) |
ceiling, comparator, descendingIterator, descendingSet, floor, headSet, higher, lower, pollFirst, pollLast, subSet, tailSetcontainsAll, retainAll, toArray, toArray, toStringpublic ActivatableTreeSet()
public ActivatableTreeSet(java.util.Comparator<? super E> comparator)
public ActivatableTreeSet(java.util.Collection<? extends E> c)
public ActivatableTreeSet(java.util.SortedSet<E> s)
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 boolean addAll(java.util.Collection<? extends E> c)
public void clear()
public java.lang.Object clone()
clone in class java.util.TreeSet<E>public boolean contains(java.lang.Object o)
public E first()
public boolean isEmpty()
public java.util.Iterator<E> iterator()
public E last()
public boolean remove(java.lang.Object o)
public int size()