public class LimitQueue<E> extends ConcurrentLinkedDeque<E>
| Constructor and Description |
|---|
LimitQueue(int limit) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
full() |
boolean |
offerFirst(E s) |
boolean |
offerLast(E s) |
add, addAll, addFirst, addLast, clear, contains, descendingIterator, element, getFirst, getLast, isEmpty, iterator, offer, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, size, spliterator, toArray, toArraycontainsAll, removeAll, retainAll, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCode, parallelStream, removeAll, removeIf, retainAll, streampublic boolean offerFirst(E s)
offerFirst in interface Deque<E>offerFirst in class ConcurrentLinkedDeque<E>public boolean offerLast(E s)
public boolean full()
Copyright © 2017–2022. All rights reserved.