E - public class CircularQueue<E> extends AbstractList<E> implements List<E>, Queue<E>, Serializable
modCount| 构造器和说明 |
|---|
CircularQueue()
Construct a new, empty queue.
|
CircularQueue(int initialCapacity) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
add(E o) |
void |
add(int idx,
E o) |
int |
capacity()
Returns the capacity of this queue.
|
void |
clear() |
E |
element() |
E |
get(int idx) |
boolean |
isEmpty() |
boolean |
offer(E item) |
E |
peek() |
E |
poll() |
E |
remove() |
E |
remove(int idx) |
E |
set(int idx,
E o) |
int |
size() |
String |
toString() |
addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListaddAll, contains, containsAll, remove, removeAll, retainAll, toArray, toArrayaddAll, addAll, contains, containsAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, retainAll, subList, toArray, toArraypublic CircularQueue()
public CircularQueue(int initialCapacity)
public int capacity()
public void clear()
clear 在接口中 Collection<E>clear 在接口中 List<E>clear 在类中 AbstractList<E>public boolean isEmpty()
isEmpty 在接口中 Collection<E>isEmpty 在接口中 List<E>isEmpty 在类中 AbstractCollection<E>public int size()
size 在接口中 Collection<E>size 在接口中 List<E>size 在类中 AbstractCollection<E>public String toString()
toString 在类中 AbstractCollection<E>public boolean add(E o)
Copyright © 2013. All Rights Reserved.