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> SequencedMap<K,,V> SortedMap<K,V>
- Enclosing class:
Maps
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFilteredEntryNavigableMap(NavigableMap<K, V> unfiltered, Predicate<? super Map.Entry<K, V>> entryPredicate) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Comparator<? super K> booleancontainsKey(Object key) entrySet()booleanisEmpty()voidintsize()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, tailMapMethods inherited from class com.google.common.collect.Maps.IteratorBasedAbstractMap
entrySpliterator, forEachEntryMethods inherited from class java.util.AbstractMap
clone, containsValue, equals, hashCode, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, containsValue, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllMethods inherited from interface java.util.NavigableMap
reversedMethods inherited from interface java.util.SequencedMap
sequencedEntrySet, sequencedKeySet, sequencedValues
-
Field Details
-
unfiltered
-
entryPredicate
-
filteredDelegate
-
-
Constructor Details
-
Method Details
-
comparator
-
values
-
entryIterator
- Specified by:
entryIteratorin classMaps.IteratorBasedAbstractMap<K,V>
-
descendingEntryIterator
- Specified by:
descendingEntryIteratorin classAbstractNavigableMap<K,V>
-
size
public int size() -
isEmpty
public boolean isEmpty() -
get
-
containsKey
- Specified by:
containsKeyin interfaceMap<K,V> - Overrides:
containsKeyin classAbstractMap<K,V>
-
put
-
remove
-
putAll
-
clear
public void clear() -
entrySet
-
pollFirstEntry
- Specified by:
pollFirstEntryin interfaceNavigableMap<K,V> - Specified by:
pollFirstEntryin interfaceSequencedMap<K,V> - Overrides:
pollFirstEntryin classAbstractNavigableMap<K,V>
-
pollLastEntry
- Specified by:
pollLastEntryin interfaceNavigableMap<K,V> - Specified by:
pollLastEntryin interfaceSequencedMap<K,V> - Overrides:
pollLastEntryin classAbstractNavigableMap<K,V>
-
descendingMap
- Specified by:
descendingMapin interfaceNavigableMap<K,V> - Overrides:
descendingMapin classAbstractNavigableMap<K,V>
-
subMap
-
headMap
-
tailMap
-