public final class CircularQueue<E> extends AbstractCollection<E>
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E obj) |
int |
capacity() |
void |
clear() |
Object |
clone() |
boolean |
isEmpty() |
Iterator<E> |
iterator() |
Object |
peek() |
E |
remove() |
int |
size() |
String |
toString() |
addAll, contains, containsAll, remove, removeAll, retainAll, toArray, toArrayequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, hashCode, parallelStream, removeIf, spliterator, streampublic boolean add(E obj)
add in interface Collection<E>add in class AbstractCollection<E>public E remove()
public boolean isEmpty()
isEmpty in interface Collection<E>isEmpty in class AbstractCollection<E>public int size()
size in interface Collection<E>size in class AbstractCollection<E>public int capacity()
public Object peek()
public void clear()
clear in interface Collection<E>clear in class AbstractCollection<E>public String toString()
toString in class AbstractCollection<E>