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, toArray
containsAll, removeAll, retainAll, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Copyright © 1998-2020 Red Hat. All Rights Reserved.