public class BoundedList<T>
extends java.util.concurrent.ConcurrentLinkedQueue<T>
| Constructor and Description |
|---|
BoundedList() |
BoundedList(int size) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T obj)
Adds an element at the tail.
|
boolean |
addIfAbsent(T obj) |
T |
removeFromHead() |
addAll, contains, isEmpty, iterator, offer, peek, poll, remove, size, spliterator, toArray, toArraycontainsAll, removeAll, retainAll, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitCopyright © 1998-2020 Red Hat. All Rights Reserved.