public class WeakPresentationList extends WeakList implements Serializable
This is a list that uses WeakReferenceHolders
to the objects. This means that the
objects will be garbage collected if this list is the only one to have a
reference to the given object.
This list will automatically regenerate the objects if the get-method return null. This is done so that the list always has the newest updated objects
modCount
Constructor and Description |
---|
WeakPresentationList(neo.util.collection.AbstractFetcher pFetcher)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
add(int pObjectId,
int pPublicationId)
Deprecated.
|
protected Object |
castObject(Object o)
Deprecated.
|
protected Object |
create(Object element)
Deprecated.
Overrides this method from super, so that I can return a WeakReferenceHolder
instead.
|
protected void |
processQueue()
Deprecated.
overides this method in the superclass so that it not will throw out the
old objects, update them instead.
|
addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
addAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, removeAll, replaceAll, retainAll, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
public WeakPresentationList(neo.util.collection.AbstractFetcher pFetcher)
public void add(int pObjectId, int pPublicationId)
protected void processQueue()
processQueue
in class WeakList
protected Object create(Object element)
protected Object castObject(Object o)
castObject
in class WeakList
© 1998- 2021 Escenic AS