private static class AbstractPushStreamImpl.ArrayQueue<E>
extends java.util.AbstractQueue<E>
implements java.util.Queue<E>
Modifier and Type | Field and Description |
---|---|
(package private) int |
nextIndex |
(package private) int |
normalLength |
(package private) int |
size |
(package private) java.lang.Object[] |
store |
Constructor and Description |
---|
ArrayQueue(int capacity) |
Modifier and Type | Method and Description |
---|---|
void |
forcePush(E e) |
java.util.Iterator<E> |
iterator() |
boolean |
offer(E e) |
E |
peek() |
E |
poll() |
int |
size() |
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait