ArrayDeque
extends AbstractCollection
implements Deque , Cloneable, Serializable
循环数组实现的双向队列
- 容器实体
transient Object[] elements; // non-private to simplify nested class access
transient int head;
transient int tail;
extends AbstractCollection
implements Deque , Cloneable, Serializable
循环数组实现的双向队列
transient Object[] elements; // non-private to simplify nested class access
transient int head;
transient int tail;