Package com.google.common.collect
Class Maps.FilteredEntryNavigableMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
com.google.common.collect.Maps.IteratorBasedAbstractMap<K,V>
com.google.common.collect.AbstractNavigableMap<K,V>
com.google.common.collect.Maps.FilteredEntryNavigableMap<K,V>
- All Implemented Interfaces:
Map<K,
,V> NavigableMap<K,
,V> SortedMap<K,
V>
- Enclosing class:
- Maps
@GwtIncompatible
private static class Maps.FilteredEntryNavigableMap<K,V>
extends AbstractNavigableMap<K,V>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFilteredEntryNavigableMap
(NavigableMap<K, V> unfiltered, Predicate<? super Map.Entry<K, V>> entryPredicate) -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Comparator<? super K>
boolean
containsKey
(Object key) entrySet()
boolean
isEmpty()
void
int
size()
values()
Methods inherited from class com.google.common.collect.AbstractNavigableMap
ceilingEntry, ceilingKey, descendingKeySet, firstEntry, firstKey, floorEntry, floorKey, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, subMap, tailMap
Methods inherited from class com.google.common.collect.Maps.IteratorBasedAbstractMap
entrySpliterator, forEachEntry
Methods inherited from class java.util.AbstractMap
clone, containsValue, equals, hashCode, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, containsValue, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
unfiltered
-
entryPredicate
-
filteredDelegate
-
-
Constructor Details
-
Method Details
-
comparator
-
values
-
entryIterator
- Specified by:
entryIterator
in classMaps.IteratorBasedAbstractMap<K,
V>
-
descendingEntryIterator
- Specified by:
descendingEntryIterator
in classAbstractNavigableMap<K,
V>
-
size
public int size() -
isEmpty
public boolean isEmpty() -
get
-
containsKey
- Specified by:
containsKey
in interfaceMap<K,
V> - Overrides:
containsKey
in classAbstractMap<K,
V>
-
put
-
remove
-
putAll
-
clear
public void clear() -
entrySet
-
pollFirstEntry
- Specified by:
pollFirstEntry
in interfaceNavigableMap<K,
V> - Overrides:
pollFirstEntry
in classAbstractNavigableMap<K,
V>
-
pollLastEntry
- Specified by:
pollLastEntry
in interfaceNavigableMap<K,
V> - Overrides:
pollLastEntry
in classAbstractNavigableMap<K,
V>
-
descendingMap
- Specified by:
descendingMap
in interfaceNavigableMap<K,
V> - Overrides:
descendingMap
in classAbstractNavigableMap<K,
V>
-
subMap
-
headMap
-
tailMap
-