T
- class UniqueWorkList<T extends AbstractBlockBase<T>> extends ArrayDeque<T>
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
(package private) BitSet |
valid |
Constructor and Description |
---|
UniqueWorkList(int size) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(T pred) |
boolean |
addAll(Collection<? extends T> collection) |
T |
poll() |
addFirst, addLast, clear, clone, contains, descendingIterator, element, getFirst, getLast, isEmpty, iterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, pollFirst, pollLast, pop, push, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, size, spliterator, toArray, toArray
containsAll, removeAll, retainAll, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode, parallelStream, removeAll, removeIf, retainAll, stream
private static final long serialVersionUID
public UniqueWorkList(int size)
public T poll()
poll
in interface Deque<T extends AbstractBlockBase<T>>
poll
in interface Queue<T extends AbstractBlockBase<T>>
poll
in class ArrayDeque<T extends AbstractBlockBase<T>>
public boolean add(T pred)
add
in interface Collection<T extends AbstractBlockBase<T>>
add
in interface Deque<T extends AbstractBlockBase<T>>
add
in interface Queue<T extends AbstractBlockBase<T>>
add
in class ArrayDeque<T extends AbstractBlockBase<T>>
public boolean addAll(Collection<? extends T> collection)
addAll
in interface Collection<T extends AbstractBlockBase<T>>
addAll
in class AbstractCollection<T extends AbstractBlockBase<T>>