class ReferenceDeque<T> extends ReferencedQueue<T> implements Deque<T>
| Modifier and Type | Field and Description |
|---|---|
private Deque<Referrer<T>> |
deque |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
ReferenceDeque(Deque<Referrer<T>> deque,
Ref type,
boolean gcThreads,
long gcCycle) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFirst(T e) |
void |
addLast(T e) |
Iterator<T> |
descendingIterator() |
T |
getFirst() |
T |
getLast() |
boolean |
offerFirst(T e) |
boolean |
offerLast(T e) |
T |
peekFirst() |
T |
peekLast() |
T |
pollFirst() |
T |
pollLast() |
T |
pop() |
void |
push(T e) |
private void |
readObject(ObjectInputStream stream) |
T |
removeFirst() |
boolean |
removeFirstOccurrence(Object o) |
T |
removeLast() |
boolean |
removeLastOccurrence(Object o) |
element, offer, peek, poll, removeadd, addAll, clear, contains, containsAll, equals, getRef, getRQF, hashCode, isEmpty, iterator, processQueue, remove, size, toString, wrapObj, writeReplaceremoveAll, retainAll, toArray, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, contains, element, iterator, offer, peek, poll, remove, remove, sizeaddAll, clear, containsAll, equals, hashCode, isEmpty, parallelStream, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArrayprivate static final long serialVersionUID
private void readObject(ObjectInputStream stream) throws InvalidObjectException
InvalidObjectExceptionpublic boolean offerFirst(T e)
offerFirst in interface Deque<T>public T removeFirst()
removeFirst in interface Deque<T>public T removeLast()
removeLast in interface Deque<T>public boolean removeFirstOccurrence(Object o)
removeFirstOccurrence in interface Deque<T>public boolean removeLastOccurrence(Object o)
removeLastOccurrence in interface Deque<T>public Iterator<T> descendingIterator()
descendingIterator in interface Deque<T>Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.