public static class LinkedList.Node<T>
extends java.lang.Object
| Constructor and Description |
|---|
Node(T value,
LinkedList.Node<T> next) |
| Modifier and Type | Method and Description |
|---|---|
LinkedList.Node<T> |
getNext()
Time complexity: Θ(1)
|
T |
getValue()
Time complexity: Θ(1)
|
void |
setNext(LinkedList.Node<T> next)
Time complexity: Θ(1)
|
public Node(T value, LinkedList.Node<T> next)
public void setNext(LinkedList.Node<T> next)
public LinkedList.Node<T> getNext()
public T getValue()