| Package | Description |
|---|---|
| net.datastructures | |
| support.graph |
| Modifier and Type | Method and Description |
|---|---|
E |
Deque.getFirst()
Returns the first element; an exception is thrown if deque is empty.
|
E |
NodeDeque.getFirst()
Inspect the first element without modifying the deque.
|
E |
Deque.getLast()
Returns the last element; an exception is thrown if deque is empty.
|
E |
NodeDeque.getLast() |
E |
Deque.removeFirst()
Removes the first element; an exception is thrown if deque is empty.
|
E |
NodeDeque.removeFirst() |
E |
Deque.removeLast()
Removes the last element; an exception is thrown if deque is empty.
|
E |
NodeDeque.removeLast() |
| Modifier and Type | Method and Description |
|---|---|
E |
NodeSequence.getFirst() |
E |
NodeSequence.getLast() |
E |
NodeSequence.removeFirst() |
E |
NodeSequence.removeLast() |