LinkedList
, Queue
, Stack
)Complete public class LinkedList<E> implements List<E>
.
Complete public class Queue<E> extends LinkedList<E>
(though the java.util
Queue<E>
is an interface). (Accessing an empty Queue
should return null
.)
Complete public class Stack<E> extends LinkedList<E>
. (Accessing an empty Stack
should throw
an EmptyStackException
.)
Include an initial comment with an @author YOUR NAME <your@email.address>
line in all solution files.