E
- @StoreNotUseStandardSerialization @StorableClass public abstract class AbstractLinkedList<E> extends PAbstractSequentialList<E> implements ILinkedList<E>, Serializable
ILinkedList
implementationinstanceFactory
Constructor and Description |
---|
AbstractLinkedList() |
AbstractLinkedList(IInstanceFactory instanceFactory) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(E element) |
E |
element() |
boolean |
offer(E element) |
boolean |
offerFirst(E element) |
boolean |
offerLast(E element) |
E |
peek() |
E |
peekFirst() |
E |
peekLast() |
E |
poll() |
E |
pollFirst() |
E |
pollLast() |
E |
pop() |
void |
push(E element) |
E |
remove() |
boolean |
removeFirstOccurrence(Object object) |
boolean |
removeLastOccurrence(Object object) |
addAll
add, get, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, set, subList
addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addListerner, removeListener
notifyAdded, notifyRemoved
add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
addFirst, addLast, contains, descendingIterator, getFirst, getLast, iterator, remove, removeFirst, removeLast, size
public AbstractLinkedList()
public AbstractLinkedList(IInstanceFactory instanceFactory)
public boolean add(E element)
public boolean offer(E element)
public boolean offerFirst(E element)
offerFirst
in interface Deque<E>
public E peek()
public E element()
public E poll()
public E remove()
public boolean removeFirstOccurrence(Object object)
removeFirstOccurrence
in interface Deque<E>
public boolean removeLastOccurrence(Object object)
removeLastOccurrence
in interface Deque<E>
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.