SortedMultiset instances.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | SortedMultisets.
A skeleton implementation for |
| pack-priv static class | SortedMultisets.
A skeleton navigable implementation for |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static <E extends @Nullable Object> E | |
| private static <E extends @Nullable Object> E |
| SortedMultisets | back to summary |
|---|---|
| private SortedMultisets() | |
| getElementOrNull | back to summary |
|---|---|
private static <E extends @Nullable Object> E getElementOrNull(Multiset.
| |
| getElementOrThrow | back to summary |
|---|---|
| private static <E extends @Nullable Object> E getElementOrThrow(Multiset. | |
SortedMultiset#elementSet.
| Modifier and Type | Field and Description |
|---|---|
| private final SortedMultiset |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Comparator | comparator()
Implements java. null if this set uses the natural ordering of its elements.
|
| public E | first()
Implements java. |
| public SortedSet | headSet(E
high endpoint (exclusive) of the returned set toElement)Implements java. toElement.
|
| public Iterator | iterator()
Implements abstract com. Implements java. |
| public E | last()
Implements java. |
| pack-priv final SortedMultiset | |
| public SortedSet | subSet(E
low endpoint (inclusive) of the returned set fromElement, E high endpoint (exclusive) of the returned set toElement)Implements java. fromElement, inclusive, to toElement,
exclusive.
|
| public SortedSet | tailSet(E
low endpoint (inclusive) of the returned set fromElement)Implements java. fromElement.
|
| multiset | back to summary |
|---|---|
| private final SortedMultiset<E> multiset
| |
| ElementSet | back to summary |
|---|---|
| pack-priv ElementSet(SortedMultiset<E> multiset) | |
| comparator | back to summary |
|---|---|
| public Comparator Implements java. Doc from java. Returns the comparator used to order the elements in this set,
or
| |
| first | back to summary |
|---|---|
| public E first() Implements java. Doc from java. Returns the first (lowest) element currently in this set.
| |
| headSet | back to summary |
|---|---|
| public SortedSet Implements java. Doc from java. Returns a view of the portion of this set whose elements are
strictly less than The returned set will throw an | |
| iterator | back to summary |
|---|---|
| public Iterator Implements abstract com. Implements java. Doc from java. Returns an iterator over the elements in this set. The elements are returned in no particular order (unless this set is an instance of some class that provides a guarantee). | |
| last | back to summary |
|---|---|
| public E last() Implements java. Doc from java. Returns the last (highest) element currently in this set.
| |
| multiset | back to summary |
|---|---|
| pack-priv final SortedMultiset Implements abstract com.
| |
| subSet | back to summary |
|---|---|
| public SortedSet Implements java. Doc from java. Returns a view of the portion of this set whose elements range
from The returned set will throw an | |
| tailSet | back to summary |
|---|---|
| public SortedSet Implements java. Doc from java. Returns a view of the portion of this set whose elements are
greater than or equal to The returned set will throw an | |