E - public final class SimpleBoundedQueue<E> extends AbstractQueue<E>
| Constructor and Description |
|---|
SimpleBoundedQueue(int maxSize) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E obj) |
void |
clear() |
Iterator<E> |
iterator() |
boolean |
offer(E o) |
E |
peek() |
E |
poll() |
E |
pop() |
int |
remainingCapacity() |
int |
size() |
addAll, element, removecontains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcontains, containsAll, equals, hashCode, isEmpty, parallelStream, remove, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArraypublic boolean add(E obj)
add in interface Collection<E>add in interface Queue<E>add in class AbstractQueue<E>public E pop()
public int size()
size in interface Collection<E>size in class AbstractCollection<E>public int remainingCapacity()
public boolean offer(E o)
public E peek()
public E poll()
public void clear()
clear in interface Collection<E>clear in class AbstractQueue<E>Copyright © 2021 Hazelcast, Inc.. All rights reserved.