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, remove
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
contains, containsAll, equals, hashCode, isEmpty, parallelStream, remove, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArray
public 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 © 2014 Hazelcast, Inc.. All rights reserved.