| Modifier and Type | Field and Description |
|---|---|
protected DNode<E> |
NodePositionList.header |
protected DNode<E> |
NodePositionList.trailer |
| Modifier and Type | Method and Description |
|---|---|
protected DNode<E> |
NodePositionList.checkPosition(Position<E> p) |
DNode<E> |
DNode.getNext()
Returns the next node of this node.
|
DNode<E> |
DNode.getPrev()
Returns the previous node of this node.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DNode.setNext(DNode<E> next)
Sets the next node of this node.
|
void |
DNode.setPrev(DNode<E> prev)
Sets the next node of this node.
|
| Constructor and Description |
|---|
DNode(DNode<E> prev,
DNode<E> next,
E element)
Creates a new DNode with a given element, an given previous and next nodes.
|
DNode(DNode<E> prev,
DNode<E> next,
E element)
Creates a new DNode with a given element, an given previous and next nodes.
|