Package com.google.common.collect
Class AbstractMapBasedMultimap.SortedKeySet
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<E>
-
- com.google.common.collect.Sets.ImprovedAbstractSet<K>
-
- com.google.common.collect.Maps.KeySet<K,java.util.Collection<V>>
-
- com.google.common.collect.AbstractMapBasedMultimap.KeySet
-
- com.google.common.collect.AbstractMapBasedMultimap.SortedKeySet
-
- All Implemented Interfaces:
java.lang.Iterable<K>
,java.util.Collection<K>
,java.util.Set<K>
,java.util.SortedSet<K>
- Direct Known Subclasses:
AbstractMapBasedMultimap.NavigableKeySet
- Enclosing class:
- AbstractMapBasedMultimap<K,V>
private class AbstractMapBasedMultimap.SortedKeySet extends AbstractMapBasedMultimap.KeySet implements java.util.SortedSet<K>
-
-
Field Summary
-
Fields inherited from class com.google.common.collect.Maps.KeySet
map
-
-
Constructor Summary
Constructors Constructor Description SortedKeySet(java.util.SortedMap<K,java.util.Collection<V>> subMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Comparator<? super K>
comparator()
K
first()
java.util.SortedSet<K>
headSet(K toElement)
K
last()
(package private) java.util.SortedMap<K,java.util.Collection<V>>
sortedMap()
java.util.SortedSet<K>
subSet(K fromElement, K toElement)
java.util.SortedSet<K>
tailSet(K fromElement)
-
Methods inherited from class com.google.common.collect.AbstractMapBasedMultimap.KeySet
clear, containsAll, equals, hashCode, iterator, remove, spliterator
-
Methods inherited from class com.google.common.collect.Maps.KeySet
contains, forEach, isEmpty, map, size
-
Methods inherited from class com.google.common.collect.Sets.ImprovedAbstractSet
removeAll, retainAll
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
comparator
public java.util.Comparator<? super K> comparator()
- Specified by:
comparator
in interfacejava.util.SortedSet<K>
-
headSet
public java.util.SortedSet<K> headSet(K toElement)
- Specified by:
headSet
in interfacejava.util.SortedSet<K>
-
subSet
public java.util.SortedSet<K> subSet(K fromElement, K toElement)
- Specified by:
subSet
in interfacejava.util.SortedSet<K>
-
-