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>
,SequencedCollection<E>
,SequencedSet<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, tailSet
Methods inherited from class com.google.common.collect.Multisets.ElementSet
clear, contains, containsAll, isEmpty, remove, size
Methods inherited from class com.google.common.collect.Sets.ImprovedAbstractSet
removeAll, retainAll
Methods inherited from class java.util.AbstractSet
equals, hashCode
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.NavigableSet
headSet, iterator, removeFirst, removeLast, reversed, subSet, tailSet
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArray
Methods inherited from interface java.util.SortedSet
addFirst, addLast, comparator, first, getFirst, getLast, last, spliterator
-
Constructor Details
-
NavigableElementSet
NavigableElementSet(SortedMultiset<E> multiset)
-
-
Method Details
-
lower
- Specified by:
lower
in interfaceNavigableSet<E>
-
floor
- Specified by:
floor
in interfaceNavigableSet<E>
-
ceiling
- Specified by:
ceiling
in interfaceNavigableSet<E>
-
higher
- Specified by:
higher
in interfaceNavigableSet<E>
-
descendingSet
- Specified by:
descendingSet
in interfaceNavigableSet<E>
-
descendingIterator
- Specified by:
descendingIterator
in interfaceNavigableSet<E>
-
pollFirst
- Specified by:
pollFirst
in interfaceNavigableSet<E>
-
pollLast
- Specified by:
pollLast
in interfaceNavigableSet<E>
-
subSet
public NavigableSet<E> subSet(E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) - Specified by:
subSet
in interfaceNavigableSet<E>
-
headSet
- Specified by:
headSet
in interfaceNavigableSet<E>
-
tailSet
- Specified by:
tailSet
in interfaceNavigableSet<E>
-