T
- element class, must implement LinkedListEntry
.public class IntrusiveLinkedList<T extends LinkedListEntry<T,T>> extends AbstractLinkedList<T,T>
LinkedListEntry
interface.
Note that this furthermore implies that each such element can only be
stored in at most one IntrusiveLinkedList
.Constructor and Description |
---|
IntrusiveLinkedList() |
Modifier and Type | Method and Description |
---|---|
protected T |
makeEntry(T element)
Creates (if necessary) a
LinkedListEntry for the given element. |
addCompletely, castRef, choose, chooseRef, clear, concat, get, getBack, getBackEntry, getBackReference, getFront, getFrontEntry, getFrontReference, insertAfter, insertAfterEntry, insertBefore, insertBeforeEntry, isEmpty, iterator, popBack, popBackEntry, popFront, popFrontEntry, pred, pushBack, pushBackEntry, pushFront, pushFrontEntry, referencedAdd, referenceIterator, remove, removeEntry, replace, replaceEntry, size, succ, swap
add, addAll, addAll, deepClear, find, quickClear, references, remove
addAll, contains, containsAll, removeAll, retainAll, toArray, toArray, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addAll, addAll, deepClear, find, quickClear, references, remove
add, addAll, contains, containsAll, equals, hashCode, parallelStream, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArray
public IntrusiveLinkedList()
protected T makeEntry(T element)
AbstractLinkedList
LinkedListEntry
for the given element.
For intrusive linked lists, e.g., the argument itself is returned.makeEntry
in class AbstractLinkedList<T extends LinkedListEntry<T,T>,T extends LinkedListEntry<T,T>>
element
- the element for which to retrieve an entry.Copyright © 2015. All Rights Reserved.