Package algs13
Class LinkedList<T>
java.lang.Object
algs13.LinkedList<T>
- All Implemented Interfaces:
Iterable<T>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate longprivate final LinkedList.Node<T> private final LinkedList.Node<T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanisEmpty()iterator()static voidstatic <T> voidprintBackward(String s, LinkedList<Integer> list, ListIterator<T> iterator) static <T> voidprintForward(String s, LinkedList<Integer> list, ListIterator<T> iterator) intsize()toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator