E
- @StorableClass @StoreNotUseStandardSerialization public class PLIFOQueue<E> extends PAbstractQueue<E> implements Queue<E>, Serializable
Constructor and Description |
---|
PLIFOQueue(Deque<E> deque) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(E element) |
void |
clear() |
boolean |
contains(Object object) |
boolean |
containsAll(Collection<?> collection) |
E |
element() |
boolean |
isEmpty() |
Iterator<E> |
iterator() |
static PLIFOQueue |
newInstance(IInstanceFactory instanceFactory,
Deque deque) |
boolean |
offer(E element) |
E |
peek() |
E |
poll() |
E |
remove() |
boolean |
remove(Object object) |
boolean |
removeAll(Collection<?> collection) |
boolean |
retainAll(Collection<?> collection) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] array) |
String |
toString() |
addAll
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addAll, equals, hashCode
public static PLIFOQueue newInstance(IInstanceFactory instanceFactory, Deque deque)
public boolean add(E element)
add
in interface Collection<E>
add
in interface Queue<E>
add
in class PAbstractQueue<E>
public E remove()
public E element()
public void clear()
clear
in interface Collection<E>
clear
in class PAbstractCollection<E>
public int size()
size
in interface Collection<E>
public boolean isEmpty()
isEmpty
in interface Collection<E>
isEmpty
in class PAbstractCollection<E>
public boolean contains(Object object)
contains
in interface Collection<E>
contains
in class PAbstractCollection<E>
public boolean remove(Object object)
remove
in interface Collection<E>
remove
in class PAbstractCollection<E>
public Object[] toArray()
toArray
in interface Collection<E>
toArray
in class PAbstractCollection<E>
public <T> T[] toArray(T[] array)
toArray
in interface Collection<E>
toArray
in class PAbstractCollection<E>
public String toString()
toString
in class PAbstractCollection<E>
public boolean containsAll(Collection<?> collection)
containsAll
in interface Collection<E>
containsAll
in class PAbstractCollection<E>
public boolean removeAll(Collection<?> collection)
removeAll
in interface Collection<E>
removeAll
in class PAbstractCollection<E>
public boolean retainAll(Collection<?> collection)
retainAll
in interface Collection<E>
retainAll
in class PAbstractCollection<E>
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.