public class UniqueLinkedList<E>
extends java.util.LinkedList<E>
| Constructor and Description |
|---|
UniqueLinkedList() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E e) |
void |
add(int index,
E element) |
boolean |
addAll(java.util.Collection<? extends E> c) |
boolean |
addAll(int index,
java.util.Collection<? extends E> c) |
void |
addFirst(E e) |
void |
addLast(E e) |
void |
clear() |
boolean |
contains(java.lang.Object o) |
E |
poll() |
E |
remove(int index) |
boolean |
remove(java.lang.Object o) |
E |
removeFirst() |
E |
removeLast() |
clone, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, pollFirst, pollLast, pop, push, remove, removeFirstOccurrence, removeLastOccurrence, set, size, spliterator, toArray, toArrayequals, hashCode, listIterator, removeRange, subListcontainsAll, isEmpty, removeAll, retainAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitpublic boolean contains(java.lang.Object o)
public E poll()
public boolean add(E e)
public void add(int index,
E element)
public void addFirst(E e)
public void addLast(E e)
public boolean addAll(java.util.Collection<? extends E> c)
public boolean addAll(int index,
java.util.Collection<? extends E> c)
public boolean remove(java.lang.Object o)
public E remove(int index)
public E removeFirst()
public E removeLast()