E
- The element type of the Listpublic class MyLinkedListBackedByHash<E>
extends java.util.LinkedList<E>
Constructor and Description |
---|
MyLinkedListBackedByHash() |
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() |
java.lang.Object |
clone() |
boolean |
contains(java.lang.Object o) |
E |
poll() |
E |
pollFirst() |
E |
pollLast() |
E |
remove() |
E |
remove(int index) |
boolean |
remove(java.lang.Object o) |
E |
removeFirst() |
E |
removeLast() |
boolean |
removeLastOccurrence(java.lang.Object o) |
E |
set(int index,
E element) |
descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, pop, push, removeFirstOccurrence, size, spliterator, toArray, toArray
containsAll, isEmpty, removeAll, retainAll, toString
public boolean add(E e)
public boolean addAll(java.util.Collection<? extends E> c)
public E removeFirst()
public E removeLast()
public void addFirst(E e)
public void addLast(E e)
public boolean contains(java.lang.Object o)
public boolean remove(java.lang.Object o)
public boolean addAll(int index, java.util.Collection<? extends E> c)
public void clear()
public void add(int index, E element)
public E remove(int index)
public E poll()
public E remove()
public E pollFirst()
public E pollLast()
public boolean removeLastOccurrence(java.lang.Object o)
public java.lang.Object clone()
clone
in class java.util.LinkedList<E>