# | Line 92 | Line 92 | public class LinkedList<E> | |
---|---|---|
92 | * @param c the collection whose elements are to be placed into this list | |
93 | * @throws NullPointerException if the specified collection is null | |
94 | */ | |
95 | < | public LinkedList(Collection<? extends E> c) { |
96 | < | this(); |
97 | < | addAll(c); |
98 | < | } |
95 | > | public LinkedList(Collection<? extends E> c) { |
96 | > | this(); |
97 | > | addAll(c); |
98 | > | } |
99 | ||
100 | /** | |
101 | * Returns the first element in this list. |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |