| Modifier and Type | Field and Description |
|---|---|
(package private) Node<E> |
LinkedQueue.back |
(package private) Node<E> |
LinkedQueue.front |
private Node<E> |
Node.next |
private Node<E> |
Node.previous |
private Node<E> |
LinkedStack.top |
| Modifier and Type | Method and Description |
|---|---|
Node<E> |
Node.getNext()
Getter method to obtain a reference to the next Node.
|
Node<E> |
Node.getPrevious()
Getter method to obtain a reference to the previous Node.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Node.setNext(Node<E> next)
Setter method to set the reference to the next Node.
|
void |
Node.setPrevious(Node<E> previous)
Setter method to set the reference to the previous Node.
|
| Constructor and Description |
|---|
Node(Node<E> previous,
E data,
Node<E> next)
Constructor that for the Node class.
|
Node(Node<E> previous,
E data,
Node<E> next)
Constructor that for the Node class.
|