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, swapadd, addAll, addAll, deepClear, find, quickClear, references, removeaddAll, contains, containsAll, removeAll, retainAll, toArray, toArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAll, addAll, deepClear, find, quickClear, references, removeadd, addAll, contains, containsAll, equals, hashCode, parallelStream, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArrayprotected T makeEntry(T element)
AbstractLinkedListLinkedListEntry 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 © 2018. All rights reserved.