Package org.apache.batik.util
Class DoublyLinkedList.Node
- java.lang.Object
-
- org.apache.batik.util.DoublyLinkedList.Node
-
- Direct Known Subclasses:
LRUCache.LRUNode
,RunnableQueue.Link
- Enclosing class:
- DoublyLinkedList
public static class DoublyLinkedList.Node extends java.lang.Object
Basic doubly linked list node interface.
-
-
Field Summary
Fields Modifier and Type Field Description private DoublyLinkedList.Node
next
private DoublyLinkedList.Node
prev
-
Constructor Summary
Constructors Constructor Description Node()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DoublyLinkedList.Node
getNext()
DoublyLinkedList.Node
getPrev()
protected void
insertBefore(DoublyLinkedList.Node nde)
Link this node in, infront of nde (unlinks it's self before hand if needed).protected void
setNext(DoublyLinkedList.Node newNext)
protected void
setPrev(DoublyLinkedList.Node newPrev)
protected void
unlink()
Unlink this node from it's current list...
-
-
-
Field Detail
-
next
private DoublyLinkedList.Node next
-
prev
private DoublyLinkedList.Node prev
-
-
Method Detail
-
getNext
public final DoublyLinkedList.Node getNext()
-
getPrev
public final DoublyLinkedList.Node getPrev()
-
setNext
protected final void setNext(DoublyLinkedList.Node newNext)
-
setPrev
protected final void setPrev(DoublyLinkedList.Node newPrev)
-
unlink
protected final void unlink()
Unlink this node from it's current list...
-
insertBefore
protected final void insertBefore(DoublyLinkedList.Node nde)
Link this node in, infront of nde (unlinks it's self before hand if needed).- Parameters:
nde
- the node to link in before.
-
-