public static class DoublyLinkedList.Node
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private DoublyLinkedList.Node |
next |
private DoublyLinkedList.Node |
prev |
Constructor and Description |
---|
Node() |
Modifier and Type | Method and 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...
|
private DoublyLinkedList.Node next
private DoublyLinkedList.Node prev
public final DoublyLinkedList.Node getNext()
public final DoublyLinkedList.Node getPrev()
protected final void setNext(DoublyLinkedList.Node newNext)
protected final void setPrev(DoublyLinkedList.Node newPrev)
protected final void unlink()
protected final void insertBefore(DoublyLinkedList.Node nde)
nde
- the node to link in before.