static class SortedMultisets.ElementSet<E> extends Multisets.ElementSet<E> implements java.util.SortedSet<E>
SortedMultiset.elementSet()
.Modifier and Type | Field and Description |
---|---|
private SortedMultiset<E> |
multiset |
Constructor and Description |
---|
ElementSet(SortedMultiset<E> multiset) |
Modifier and Type | Method and Description |
---|---|
java.util.Comparator<? super E> |
comparator() |
E |
first() |
java.util.SortedSet<E> |
headSet(E toElement) |
java.util.Iterator<E> |
iterator() |
E |
last() |
(package private) SortedMultiset<E> |
multiset() |
java.util.SortedSet<E> |
subSet(E fromElement,
E toElement) |
java.util.SortedSet<E> |
tailSet(E fromElement) |
clear, contains, containsAll, isEmpty, remove, size
removeAll, retainAll
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
private final SortedMultiset<E> multiset
ElementSet(SortedMultiset<E> multiset)
final SortedMultiset<E> multiset()
multiset
in class Multisets.ElementSet<E>
public java.util.Iterator<E> iterator()
public java.util.Comparator<? super E> comparator()
comparator
in interface java.util.SortedSet<E>
public java.util.SortedSet<E> subSet(E fromElement, E toElement)
subSet
in interface java.util.SortedSet<E>
public java.util.SortedSet<E> headSet(E toElement)
headSet
in interface java.util.SortedSet<E>
public java.util.SortedSet<E> tailSet(E fromElement)
tailSet
in interface java.util.SortedSet<E>