E
- element type.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, remove, removeAll, retainAll, toArray, toArray, toString
contains, containsAll, isEmpty, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray
public 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 © 2018. All rights reserved.