Package com.google.common.collect
Class AbstractMapBasedMultimap.WrappedSortedSet
java.lang.Object
java.util.AbstractCollection<V>
AbstractMapBasedMultimap<K,V>.com.google.common.collect.AbstractMapBasedMultimap.WrappedCollection
com.google.common.collect.AbstractMapBasedMultimap.WrappedSortedSet
- All Implemented Interfaces:
Iterable<V>,Collection<V>,SequencedCollection<V>,SequencedSet<V>,Set<V>,SortedSet<V>
- Direct Known Subclasses:
AbstractMapBasedMultimap.WrappedNavigableSet
- Enclosing class:
AbstractMapBasedMultimap<K,V>
class AbstractMapBasedMultimap.WrappedSortedSet
extends AbstractMapBasedMultimap<K,V>.WrappedCollection
implements SortedSet<V>
SortedSet decorator that stays in sync with the multimap values for a key.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.common.collect.AbstractMapBasedMultimap.WrappedCollection
AbstractMapBasedMultimap.WrappedCollection.WrappedIterator -
Field Summary
Fields inherited from class com.google.common.collect.AbstractMapBasedMultimap.WrappedCollection
ancestor, ancestorDelegate, delegate, key -
Constructor Summary
ConstructorsConstructorDescriptionWrappedSortedSet(K key, SortedSet<V> delegate, AbstractMapBasedMultimap<K, V>.WrappedCollection ancestor) -
Method Summary
Methods inherited from class com.google.common.collect.AbstractMapBasedMultimap.WrappedCollection
add, addAll, addToMap, clear, contains, containsAll, equals, getAncestor, getDelegate, getKey, hashCode, iterator, refreshIfEmpty, remove, removeAll, removeIfEmpty, retainAll, size, spliterator, toStringMethods inherited from class java.util.AbstractCollection
isEmpty, toArray, toArrayMethods 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, iterator, remove, removeAll, retainAll, size, toArray, toArrayMethods inherited from interface java.util.SortedSet
addFirst, addLast, getFirst, getLast, removeFirst, removeLast, reversed, spliterator
-
Constructor Details
-
WrappedSortedSet
WrappedSortedSet(K key, SortedSet<V> delegate, @CheckForNull AbstractMapBasedMultimap<K, V>.WrappedCollection ancestor)
-
-
Method Details
-
getSortedSetDelegate
-
comparator
- Specified by:
comparatorin interfaceSortedSet<V>
-
first
-
last
-
headSet
-
subSet
-
tailSet
-