Multisets#unmodifiableSortedMultiset(SortedMultiset), split out into
its own file so it can be GWT emulated (to deal with the differing elementSet() types in GWT and
non-GWT).
| Modifier and Type | Field and Description |
|---|---|
| private transient UnmodifiableSortedMultiset | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Comparator | comparator()
Implements com. Ordering#natural() if the natural
ordering of the elements is used.
|
| pack-priv NavigableSet | |
| protected SortedMultiset | delegate()
Overrides com. |
| public SortedMultiset | descendingMultiset()
Implements com. |
| public NavigableSet | elementSet()
Overrides com. Implements com. NavigableSet view of the distinct elements in this multiset.
|
| public Multiset. | firstEntry()
Implements com. null if this multiset is
empty.
|
| public SortedMultiset | headMultiset(E upperBound, BoundType boundType)
Implements com. upperBound,
optionally including upperBound itself.
|
| public Multiset. | lastEntry()
Implements com. null if this multiset is
empty.
|
| public Multiset. | pollFirstEntry()
Implements com. null if this multiset is empty.
|
| public Multiset. | pollLastEntry()
Implements com. null if this multiset is empty.
|
| public SortedMultiset | subMultiset(E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType)
Implements com. lowerBound and upperBound.
|
| public SortedMultiset | tailMultiset(E lowerBound, BoundType boundType)
Implements com. lowerBound,
optionally including lowerBound itself.
|
| descendingMultiset | back to summary |
|---|---|
| private transient UnmodifiableSortedMultiset<E> descendingMultiset
| |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| UnmodifiableSortedMultiset | back to summary |
|---|---|
| pack-priv UnmodifiableSortedMultiset(SortedMultiset<E> delegate) | |
| comparator | back to summary |
|---|---|
| public Comparator Implements com. Doc from com. Returns the comparator that orders this multiset, or
| |
| createElementSet | back to summary |
|---|---|
| pack-priv NavigableSet Overrides com.
| |
| delegate | back to summary |
|---|---|
| protected SortedMultiset Overrides com. Doc from com. Returns the backing delegate instance that methods are forwarded to. Abstract subclasses
generally override this method with an abstract method that has a more specific return type,
such as
| |
| descendingMultiset | back to summary |
|---|---|
| public SortedMultiset Implements com. Doc from com. Returns a descending view of this multiset. Modifications made to either map will be reflected in the other.
| |
| elementSet | back to summary |
|---|---|
| public NavigableSet Overrides com. Implements com. Doc from com. Returns a
| |
| firstEntry | back to summary |
|---|---|
| public Multiset. Implements com. Doc from com. Returns the entry of the first element in this multiset, or
| |
| headMultiset | back to summary |
|---|---|
| public SortedMultiset Implements com. Doc from com. Returns a view of this multiset restricted to the elements less than The returned multiset will throw an
| |
| lastEntry | back to summary |
|---|---|
| public Multiset. Implements com. Doc from com. Returns the entry of the last element in this multiset, or
| |
| pollFirstEntry | back to summary |
|---|---|
| public Multiset. Implements com. Doc from com. Returns and removes the entry associated with the lowest element in this multiset, or returns
| |
| pollLastEntry | back to summary |
|---|---|
| public Multiset. Implements com. Doc from com. Returns and removes the entry associated with the greatest element in this multiset, or returns
| |
| subMultiset | back to summary |
|---|---|
| public SortedMultiset Implements com. Doc from com. Returns a view of this multiset restricted to the range between The returned multiset will throw an This method is equivalent to
| |
| tailMultiset | back to summary |
|---|---|
| public SortedMultiset Implements com. Doc from com. Returns a view of this multiset restricted to the elements greater than The returned multiset will throw an
| |