Class ForwardingSortedMultiset.StandardDescendingMultiset

All Implemented Interfaces:
Multiset<E>, SortedIterable<E>, SortedMultiset<E>, SortedMultisetBridge<E>, Iterable<E>, Collection<E>
Enclosing class:
ForwardingSortedMultiset<E>

protected abstract class ForwardingSortedMultiset.StandardDescendingMultiset extends DescendingMultiset<E>
A skeleton implementation of a descending multiset view. Normally, 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.

Since:
15.0
  • Constructor Details

    • StandardDescendingMultiset

      public StandardDescendingMultiset()
      Constructor for use by subclasses.
  • Method Details