Class ConcurrentLinkedHashMap.DiscardingQueue
java.lang.Object
java.util.AbstractCollection<Object>
java.util.AbstractQueue<Object>
com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.DiscardingQueue
- Enclosing class:
ConcurrentLinkedHashMap<K,V>
A queue that discards all additions and is always empty.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractQueue
addAll, clear, element, removeMethods inherited from class AbstractCollection
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Collection
contains, containsAll, equals, hashCode, isEmpty, parallelStream, remove, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArray
-
Constructor Details
-
DiscardingQueue
DiscardingQueue()
-
-
Method Details
-
add
- Specified by:
addin interfaceCollection<Object>- Specified by:
addin interfaceQueue<Object>- Overrides:
addin classAbstractQueue<Object>
-
offer
-
poll
-
peek
-
size
public int size()- Specified by:
sizein interfaceCollection<Object>- Specified by:
sizein classAbstractCollection<Object>
-
iterator
-