Package com.google.common.collect
Class SortedMultisets.NavigableElementSet<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>
com.google.common.collect.SortedMultisets.NavigableElementSet<E>
- All Implemented Interfaces:
Iterable<E>,Collection<E>,NavigableSet<E>,Set<E>,SortedSet<E>
- Direct Known Subclasses:
ForwardingSortedMultiset.StandardElementSet
- Enclosing class:
- SortedMultisets
static class SortedMultisets.NavigableElementSet<E>
extends SortedMultisets.ElementSet<E>
implements NavigableSet<E>
A skeleton navigable implementation for
SortedMultiset.elementSet().-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.common.collect.SortedMultisets.ElementSet
comparator, first, headSet, iterator, last, multiset, subSet, tailSetMethods 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.NavigableSet
headSet, iterator, subSet, tailSetMethods 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
comparator, first, last, spliterator
-
Constructor Details
-
NavigableElementSet
NavigableElementSet(SortedMultiset<E> multiset)
-
-
Method Details
-
lower
- Specified by:
lowerin interfaceNavigableSet<E>
-
floor
- Specified by:
floorin interfaceNavigableSet<E>
-
ceiling
- Specified by:
ceilingin interfaceNavigableSet<E>
-
higher
- Specified by:
higherin interfaceNavigableSet<E>
-
descendingSet
- Specified by:
descendingSetin interfaceNavigableSet<E>
-
descendingIterator
- Specified by:
descendingIteratorin interfaceNavigableSet<E>
-
pollFirst
- Specified by:
pollFirstin interfaceNavigableSet<E>
-
pollLast
- Specified by:
pollLastin interfaceNavigableSet<E>
-
subSet
public NavigableSet<E> subSet(E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) - Specified by:
subSetin interfaceNavigableSet<E>
-
headSet
- Specified by:
headSetin interfaceNavigableSet<E>
-
tailSet
- Specified by:
tailSetin interfaceNavigableSet<E>
-