Package ch.weetech.cache
Interface LinkedListNode<V>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddetach()VgetElement()DoublyLinkedList<V>getListReference()LinkedListNode<V>getNext()LinkedListNode<V>getPrev()booleanhasElement()booleanisEmpty()LinkedListNode<V>search(V value)LinkedListNode<V>setNext(LinkedListNode<V> next)LinkedListNode<V>setPrev(LinkedListNode<V> prev)
-
-
-
Method Detail
-
hasElement
boolean hasElement()
-
isEmpty
boolean isEmpty()
-
getElement
V getElement() throws java.lang.NullPointerException
- Throws:
java.lang.NullPointerException
-
detach
void detach()
-
getListReference
DoublyLinkedList<V> getListReference()
-
setPrev
LinkedListNode<V> setPrev(LinkedListNode<V> prev)
-
setNext
LinkedListNode<V> setNext(LinkedListNode<V> next)
-
getPrev
LinkedListNode<V> getPrev()
-
getNext
LinkedListNode<V> getNext()
-
search
LinkedListNode<V> search(V value)
-
-