boolean |
[**add**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#add-E->)([**E**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html>) e)Appends the specified element to the end of this list. |
void |
[**add**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#add-int-E->)(int index, [**E**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html>) element)Inserts the specified element at the specified position in this list. |
boolean |
[**addAll**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#addAll-java.util.Collection->)([**Collection**](<https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html>)<? extends [**E**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html>)> c)Appends all of the elements in the specified collection to the end of this list, in the order that they are returned by the specified collection's iterator. |
boolean |
[**addAll**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#addAll-int-java.util.Collection->)(int index, [**Collection**](<https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html>)<? extends [**E**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html>)> c)Inserts all of the elements in the specified collection into this list, starting at the specified position. |
void |
[**addFirst**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#addFirst-E->)([**E**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html>) e)Inserts the specified element at the beginning of this list. |
void |
[**addLast**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#addLast-E->)([**E**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html>) e)Appends the specified element to the end of this list. |
void |
[**clear**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#clear-->)()Removes all of the elements from this list. |
Object |
[**clone**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#clone-->)()Returns a shallow copy of this LinkedList. |
boolean |
[**contains**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#contains-java.lang.Object->)([**Object**](<https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html>) o)Returns true if this list contains the specified element. |
[**Iterator**](<https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html>)<[**E**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html>)> |
[**descendingIterator**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#descendingIterator-->)()Returns an iterator over the elements in this deque in reverse sequential order. |
E |
[**element**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#element-->)()Retrieves, but does not remove, the head (first element) of this list. |
E |
[**get**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#get-int->)(int index)Returns the element at the specified position in this list. |
E |
[**getFirst**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#getFirst-->)()Returns the first element in this list. |
E |
[**getLast**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#getLast-->)()Returns the last element in this list. |
int |
[**indexOf**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#indexOf-java.lang.Object->)([**Object**](<https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html>) o)Returns the index of the first occurrence of the specified element in this list, or -1 if this list does not contain the element. |
int |
[**lastIndexOf**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#lastIndexOf-java.lang.Object->)([**Object**](<https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html>) o)Returns the index of the last occurrence of the specified element in this list, or -1 if this list does not contain the element. |
[**ListIterator**](<https://docs.oracle.com/javase/8/docs/api/java/util/ListIterator.html>)<[**E**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html>)> |
[**listIterator**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#listIterator-int->)(int index)Returns a list-iterator of the elements in this list (in proper sequence), starting at the specified position in the list. |
boolean |
[**offer**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#offer-E->)([**E**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html>) e)Adds the specified element as the tail (last element) of this list. |
boolean |
[**offerFirst**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#offerFirst-E->)([**E**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html>) e)Inserts the specified element at the front of this list. |
boolean |
[**offerLast**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#offerLast-E->)([**E**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html>) e)Inserts the specified element at the end of this list. |
E |
[**peek**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#peek-->)()Retrieves, but does not remove, the head (first element) of this list. |
E |
[**peekFirst**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#peekFirst-->)()Retrieves, but does not remove, the first element of this list, or returns null if this list is empty. |
E |
[**peekLast**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#peekLast-->)()Retrieves, but does not remove, the last element of this list, or returns null if this list is empty. |
E |
[**poll**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#poll-->)()Retrieves and removes the head (first element) of this list. |
E |
[**pollFirst**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#pollFirst-->)()Retrieves and removes the first element of this list, or returns null if this list is empty. |
E |
[**pollLast**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#pollLast-->)()Retrieves and removes the last element of this list, or returns null if this list is empty. |
E |
[**pop**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#pop-->)()Pops an element from the stack represented by this list. |
void |
[**push**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#push-E->)([**E**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html>) e)Pushes an element onto the stack represented by this list. |
E |
[**remove**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#remove-->)()Retrieves and removes the head (first element) of this list. |
E |
[**remove**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#remove-int->)(int index)Removes the element at the specified position in this list. |
boolean |
[**remove**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#remove-java.lang.Object->)([**Object**](<https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html>) o)Removes the first occurrence of the specified element from this list, if it is present. |
E |
[**removeFirst**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#removeFirst-->)()Removes and returns the first element from this list. |
boolean |
[**removeFirstOccurrence**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#removeFirstOccurrence-java.lang.Object->)([**Object**](<https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html>) o)Removes the first occurrence of the specified element in this list (when traversing the list from head to tail). |
E |
[**removeLast**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#removeLast-->)()Removes and returns the last element from this list. |
boolean |
[**removeLastOccurrence**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#removeLastOccurrence-java.lang.Object->)([**Object**](<https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html>) o)Removes the last occurrence of the specified element in this list (when traversing the list from head to tail). |
E |
[**set**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#set-int-E->)(int index, [**E**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html>) element)Replaces the element at the specified position in this list with the specified element. |
int |
[**size**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#size-->)()Returns the number of elements in this list. |
[**Spliterator**](<https://docs.oracle.com/javase/8/docs/api/java/util/Spliterator.html>)<[**E**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html>)> |
[**spliterator**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#spliterator-->)()Creates a late-binding and fail-fast Spliterator over the elements in this list. |
[**Object**](<https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html>)[] |
[**toArray**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#toArray-->)()Returns an array containing all of the elements in this list in proper sequence (from first to last element). |
<T> T[] |
[**toArray**](<https://docs.oracle.com/javase/8/docs/api/java/util/LinkedList.html#toArray-T:A->)(T[] a)Returns an array containing all of the elements in this list in proper sequence (from first to last element); the runtime type of the returned array is that of the specified array. |