Package com.linkedin.alpini.base.misc
Class DoublyLinkedList.Entry<E extends DoublyLinkedList.Entry<E>>
- java.lang.Object
-
- com.linkedin.alpini.base.misc.DoublyLinkedList.Entry<E>
-
- Type Parameters:
E-
- Direct Known Subclasses:
TimeoutProcessor.TimeoutFuture
- Enclosing class:
- DoublyLinkedList<E extends DoublyLinkedList.Entry<E>>
public static class DoublyLinkedList.Entry<E extends DoublyLinkedList.Entry<E>> extends java.lang.ObjectIn order to maintain a doubly-linked list, each element needs to establish links to its adjacent elements. To do this, we are storing those references in the element. This does mean that each element may only be contained within one list.
-
-
Constructor Summary
Constructors Constructor Description Entry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanunlink()Removes this element from its list.
-