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 java.util.AbstractQueue
addAll, clear, element, removeMethods inherited from class java.util.AbstractCollection
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.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
- Specified by:
iteratorin interfaceCollection<Object>- Specified by:
iteratorin interfaceIterable<Object>- Specified by:
iteratorin classAbstractCollection<Object>
-