Package com.google.common.collect
Class Maps.FilteredEntrySortedMap.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,V>
-
- com.google.common.collect.Maps.FilteredEntryMap.KeySet
-
- com.google.common.collect.Maps.FilteredEntrySortedMap.SortedKeySet
-
- All Implemented Interfaces:
java.lang.Iterable<K>
,java.util.Collection<K>
,java.util.Set<K>
,java.util.SortedSet<K>
- Enclosing class:
- Maps.FilteredEntrySortedMap<K,V>
class Maps.FilteredEntrySortedMap.SortedKeySet extends Maps.FilteredEntryMap.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()
-
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()
java.util.SortedSet<K>
subSet(K fromElement, K toElement)
java.util.SortedSet<K>
tailSet(K fromElement)
-
Methods inherited from class com.google.common.collect.Maps.FilteredEntryMap.KeySet
remove, removeAll, retainAll, toArray, toArray
-
Methods inherited from class com.google.common.collect.Maps.KeySet
clear, contains, isEmpty, iterator, map, size
-
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>
-
subSet
public java.util.SortedSet<K> subSet(K fromElement, K toElement)
- Specified by:
subSet
in interfacejava.util.SortedSet<K>
-
headSet
public java.util.SortedSet<K> headSet(K toElement)
- Specified by:
headSet
in interfacejava.util.SortedSet<K>
-
tailSet
public java.util.SortedSet<K> tailSet(K fromElement)
- Specified by:
tailSet
in interfacejava.util.SortedSet<K>
-
-