edu.emory.mathcs.backport.java.util
public class LinkedList extends AbstractSequentialList implements List, Deque, Cloneable, Serializable
Constructor Summary | |
---|---|
LinkedList() | |
LinkedList(Collection c) |
Method Summary | |
---|---|
boolean | add(Object o) |
void | add(int index, Object element) |
boolean | addAll(Collection c) |
boolean | addAll(int index, Collection c) |
void | addFirst(Object e) |
void | addLast(Object e) |
void | clear() |
Object | clone() |
boolean | contains(Object o) |
Iterator | descendingIterator() |
Object | element() |
Object | get(int index) |
Object | getFirst() |
Object | getLast() |
int | indexOf(Object o) |
boolean | isEmpty() |
int | lastIndexOf(Object o) |
ListIterator | listIterator() |
ListIterator | listIterator(int index) |
boolean | offer(Object e) |
boolean | offerFirst(Object e) |
boolean | offerLast(Object e) |
Object | peek() |
Object | peekFirst() |
Object | peekLast() |
Object | poll() |
Object | pollFirst() |
Object | pollLast() |
Object | pop() |
void | push(Object e) |
boolean | remove(Object o) |
Object | remove(int index) |
Object | remove() |
Object | removeFirst() |
boolean | removeFirstOccurrence(Object o) |
Object | removeLast() |
boolean | removeLastOccurrence(Object o) |
Object | set(int index, Object element) |
int | size() |
Object[] | toArray() |
Object[] | toArray(Object[] a) |