Package com.google.common.collect
Class Maps.NavigableKeySet<K,V>
- 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.SortedKeySet<K,V>
-
- com.google.common.collect.Maps.NavigableKeySet<K,V>
-
- All Implemented Interfaces:
java.lang.Iterable<K>,java.util.Collection<K>,java.util.NavigableSet<K>,java.util.Set<K>,java.util.SortedSet<K>
- Direct Known Subclasses:
ForwardingNavigableMap.StandardNavigableKeySet
- Enclosing class:
- Maps
@GwtIncompatible static class Maps.NavigableKeySet<K,V> extends Maps.SortedKeySet<K,V> implements java.util.NavigableSet<K>
-
-
Field Summary
-
Fields inherited from class com.google.common.collect.Maps.KeySet
map
-
-
Constructor Summary
Constructors Constructor Description NavigableKeySet(java.util.NavigableMap<K,V> map)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Kceiling(K e)java.util.Iterator<K>descendingIterator()java.util.NavigableSet<K>descendingSet()Kfloor(K e)java.util.SortedSet<K>headSet(K toElement)java.util.NavigableSet<K>headSet(K toElement, boolean inclusive)Khigher(K e)Klower(K e)(package private) java.util.NavigableMap<K,V>map()KpollFirst()KpollLast()java.util.NavigableSet<K>subSet(K fromElement, boolean fromInclusive, K toElement, boolean toInclusive)java.util.SortedSet<K>subSet(K fromElement, K toElement)java.util.SortedSet<K>tailSet(K fromElement)java.util.NavigableSet<K>tailSet(K fromElement, boolean inclusive)-
Methods inherited from class com.google.common.collect.Maps.SortedKeySet
comparator, first, last
-
Methods inherited from class com.google.common.collect.Maps.KeySet
clear, contains, forEach, isEmpty, iterator, remove, size
-
Methods inherited from class com.google.common.collect.Sets.ImprovedAbstractSet
removeAll, retainAll
-
Methods inherited from class java.util.AbstractCollection
add, addAll, containsAll, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
descendingSet
public java.util.NavigableSet<K> descendingSet()
- Specified by:
descendingSetin interfacejava.util.NavigableSet<K>
-
descendingIterator
public java.util.Iterator<K> descendingIterator()
- Specified by:
descendingIteratorin interfacejava.util.NavigableSet<K>
-
subSet
public java.util.NavigableSet<K> subSet(K fromElement, boolean fromInclusive, K toElement, boolean toInclusive)
- Specified by:
subSetin interfacejava.util.NavigableSet<K>
-
headSet
public java.util.NavigableSet<K> headSet(K toElement, boolean inclusive)
- Specified by:
headSetin interfacejava.util.NavigableSet<K>
-
tailSet
public java.util.NavigableSet<K> tailSet(K fromElement, boolean inclusive)
- Specified by:
tailSetin interfacejava.util.NavigableSet<K>
-
-