Package com.google.common.collect
Class AbstractMapBasedMultimap.NavigableKeySet
- 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
-
- com.google.common.collect.AbstractMapBasedMultimap.NavigableKeySet
-
- All Implemented Interfaces:
java.lang.Iterable<K>,java.util.Collection<K>,java.util.NavigableSet<K>,java.util.Set<K>,java.util.SortedSet<K>
- Enclosing class:
- AbstractMapBasedMultimap<K,V>
class AbstractMapBasedMultimap.NavigableKeySet extends AbstractMapBasedMultimap.SortedKeySet 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,java.util.Collection<V>> subMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Kceiling(K k)java.util.Iterator<K>descendingIterator()java.util.NavigableSet<K>descendingSet()Kfloor(K k)java.util.NavigableSet<K>headSet(K toElement)java.util.NavigableSet<K>headSet(K toElement, boolean inclusive)Khigher(K k)Klower(K k)KpollFirst()KpollLast()(package private) java.util.NavigableMap<K,java.util.Collection<V>>sortedMap()java.util.NavigableSet<K>subSet(K fromElement, boolean fromInclusive, K toElement, boolean toInclusive)java.util.NavigableSet<K>subSet(K fromElement, K toElement)java.util.NavigableSet<K>tailSet(K fromElement)java.util.NavigableSet<K>tailSet(K fromElement, boolean inclusive)-
Methods inherited from class com.google.common.collect.AbstractMapBasedMultimap.SortedKeySet
comparator, first, last
-
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
-
sortedMap
java.util.NavigableMap<K,java.util.Collection<V>> sortedMap()
- Overrides:
sortedMapin classAbstractMapBasedMultimap.SortedKeySet
-
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>
-
headSet
public java.util.NavigableSet<K> headSet(K toElement)
- Specified by:
headSetin interfacejava.util.NavigableSet<K>- Specified by:
headSetin interfacejava.util.SortedSet<K>- Overrides:
headSetin classAbstractMapBasedMultimap.SortedKeySet
-
headSet
public java.util.NavigableSet<K> headSet(K toElement, boolean inclusive)
- Specified by:
headSetin interfacejava.util.NavigableSet<K>
-
subSet
public java.util.NavigableSet<K> subSet(K fromElement, K toElement)
- Specified by:
subSetin interfacejava.util.NavigableSet<K>- Specified by:
subSetin interfacejava.util.SortedSet<K>- Overrides:
subSetin classAbstractMapBasedMultimap.SortedKeySet
-
subSet
public java.util.NavigableSet<K> subSet(K fromElement, boolean fromInclusive, K toElement, boolean toInclusive)
- Specified by:
subSetin interfacejava.util.NavigableSet<K>
-
tailSet
public java.util.NavigableSet<K> tailSet(K fromElement)
- Specified by:
tailSetin interfacejava.util.NavigableSet<K>- Specified by:
tailSetin interfacejava.util.SortedSet<K>- Overrides:
tailSetin classAbstractMapBasedMultimap.SortedKeySet
-
-