java.io.Serializable
, java.lang.Iterable<T>
, java.util.Collection<T>
, java.util.Queue<T>
public class BoundedList<T>
extends java.util.concurrent.ConcurrentLinkedQueue<T>
Constructor | Description |
---|---|
BoundedList() |
|
BoundedList(int size) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
add(T obj) |
Adds an element at the tail.
|
T |
removeFromHead() |
containsAll, equals, hashCode, parallelStream, stream
addAll, clear, contains, forEach, isEmpty, iterator, offer, peek, poll, remove, removeAll, removeIf, retainAll, size, spliterator, toArray, toArray, toString
Copyright ? 1998-2008 Bela Ban. All Rights Reserved.