protected abstract class ForwardingSortedMultiset.StandardDescendingMultiset extends DescendingMultiset<E>
DescendingMultiset.descendingMultiset()
will not reflect any changes you make to the behavior of methods
such as ForwardingCollection.add(Object)
or DescendingMultiset.pollFirstEntry()
. This skeleton implementation
correctly delegates each of its operations to the appropriate methods of this ForwardingSortedMultiset
.
In many cases, you may wish to override DescendingMultiset.descendingMultiset()
to return an instance of
a subclass of StandardDescendingMultiset
.ForwardingMultiset.StandardElementSet
Multiset.Entry<E>
Constructor and Description |
---|
StandardDescendingMultiset()
Constructor for use by subclasses.
|
Modifier and Type | Method and Description |
---|---|
(package private) SortedMultiset<E> |
forwardMultiset() |
comparator, createEntrySet, delegate, descendingMultiset, elementSet, entryIterator, entrySet, firstEntry, headMultiset, iterator, lastEntry, pollFirstEntry, pollLastEntry, subMultiset, tailMultiset, toArray, toArray, toString
add, count, equals, hashCode, remove, setCount, setCount, standardAdd, standardAddAll, standardClear, standardContains, standardCount, standardEquals, standardHashCode, standardIterator, standardRemove, standardRemoveAll, standardRetainAll, standardSetCount, standardSetCount, standardSize, standardToString
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, standardContainsAll, standardIsEmpty, standardToArray, standardToArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, add, contains, containsAll, count, equals, hashCode, remove, remove, removeAll, retainAll, setCount, setCount
public StandardDescendingMultiset()
SortedMultiset<E> forwardMultiset()
forwardMultiset
in class DescendingMultiset<E>