Package algs13
Class LinkedList<T>
java.lang.Object
algs13.LinkedList<T>
- All Implemented Interfaces:
Iterable<T>
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate class
private static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private long
private final LinkedList.Node
<T> private final LinkedList.Node
<T> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
isEmpty()
iterator()
static void
static <T> void
printBackward
(String s, LinkedList<Integer> list, ListIterator<T> iterator) static <T> void
printForward
(String s, LinkedList<Integer> list, ListIterator<T> iterator) int
size()
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator