Package com.google.common.collect
Class SortedMultisets.ElementSet<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
com.google.common.collect.Sets.ImprovedAbstractSet<E>
com.google.common.collect.Multisets.ElementSet<E>
com.google.common.collect.SortedMultisets.ElementSet<E>
- All Implemented Interfaces:
Iterable<E>,Collection<E>,Set<E>,SortedSet<E>
- Direct Known Subclasses:
SortedMultisets.NavigableElementSet
- Enclosing class:
- SortedMultisets
A skeleton implementation for
SortedMultiset.elementSet().-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.common.collect.Multisets.ElementSet
clear, contains, containsAll, isEmpty, remove, sizeMethods inherited from class com.google.common.collect.Sets.ImprovedAbstractSet
removeAll, retainAllMethods inherited from class java.util.AbstractSet
equals, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArrayMethods inherited from interface java.util.SortedSet
spliterator
-
Field Details
-
multiset
-
-
Constructor Details
-
ElementSet
ElementSet(SortedMultiset<E> multiset)
-
-
Method Details
-
multiset
- Specified by:
multisetin classMultisets.ElementSet<E>
-
iterator
-
comparator
- Specified by:
comparatorin interfaceSortedSet<E>
-
subSet
-
headSet
-
tailSet
-
first
-
last
-