public abstract class AbstractQueue<E> extends AbstractCollection<E> implements Queue<E>
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractQueue() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E o) |
boolean |
addAll(Collection<? extends E> c) |
void |
clear() |
E |
element() |
E |
remove() |
contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toStringclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic boolean add(E o)
add in interface Collection<E>add in class AbstractCollection<E>public boolean addAll(Collection<? extends E> c)
addAll in interface Collection<E>addAll in class AbstractCollection<E>public void clear()
clear in interface Collection<E>clear in class AbstractCollection<E>Copyright © 2026. All rights reserved.