ImmutableSortedMultiset
| Modifier and Type | Field and Description |
|---|---|
| private final transient ImmutableSortedMultiset |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | count(Object
the element to count occurrences of element)Implements com. |
| public ImmutableSortedMultiset | descendingMultiset()
Overrides com. Implements com. |
| public ImmutableSortedSet | elementSet()
Implements abstract com. Implements com. NavigableSet view of the distinct elements in this multiset.
|
| public Multiset. | firstEntry()
Implements com. null if this multiset is
empty.
|
| pack-priv Multiset. | |
| public ImmutableSortedMultiset | headMultiset(E upperBound, BoundType boundType)
Implements abstract com. Implements com. upperBound,
optionally including upperBound itself.
|
| pack-priv boolean | isPartialView()
Implements abstract com. true if this immutable collection's implementation contains references to
user-created objects that aren't accessible via this collection's methods.
|
| public Multiset. | lastEntry()
Implements com. null if this multiset is
empty.
|
| public int | size()
Implements abstract java. Implements com. |
| public ImmutableSortedMultiset | tailMultiset(E lowerBound, BoundType boundType)
Implements abstract com. Implements com. lowerBound,
optionally including lowerBound itself.
|
| pack-priv Object |
| forward | back to summary |
|---|---|
| private final transient ImmutableSortedMultiset<E> forward | |
| DescendingImmutableSortedMultiset | back to summary |
|---|---|
| pack-priv DescendingImmutableSortedMultiset(ImmutableSortedMultiset<E> forward) | |
| count | back to summary |
|---|---|
| public int count(Object element) Implements com. Doc from com. Returns the number of occurrences of an element in this multiset (the count of the
element). Note that for an Note the utility method | |
| descendingMultiset | back to summary |
|---|---|
| public ImmutableSortedMultiset Overrides com. 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 ImmutableSortedSet Implements abstract 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
| |
| getEntry | back to summary |
|---|---|
| pack-priv Multiset. Implements abstract com.
| |
| headMultiset | back to summary |
|---|---|
| public ImmutableSortedMultiset Implements abstract com. Implements com. Doc from com. Returns a view of this multiset restricted to the elements less than The returned multiset will throw an
| |
| isPartialView | back to summary |
|---|---|
| pack-priv boolean isPartialView() Implements abstract com. Doc from com. Returns
| |
| lastEntry | back to summary |
|---|---|
| public Multiset. Implements com. Doc from com. Returns the entry of the last element in this multiset, or
| |
| size | back to summary |
|---|---|
| public int size() Implements abstract java. Implements com. Doc from com. Returns the total number of all occurrences of all elements in this multiset. Note this method does not return the number of distinct elements in the
multiset, which is given by
| |
| tailMultiset | back to summary |
|---|---|
| public ImmutableSortedMultiset Implements abstract com. Implements com. Doc from com. Returns a view of this multiset restricted to the elements greater than The returned multiset will throw an
| |
| writeReplace | back to summary |
|---|---|
| pack-priv Object writeReplace() Overrides com.
| |