static class Maps.FilteredEntryMap<K,V> extends Maps.AbstractFilteredMap<K,V>
Modifier and Type | Class and Description |
---|---|
private class |
Maps.FilteredEntryMap.EntrySet |
(package private) class |
Maps.FilteredEntryMap.KeySet |
Modifier and Type | Field and Description |
---|---|
(package private) java.util.Set<java.util.Map.Entry<K,V>> |
filteredEntrySet
Entries in this set satisfy the predicate, but they don't validate the
input to
Entry.setValue() . |
predicate, unfiltered
Constructor and Description |
---|
FilteredEntryMap(java.util.Map<K,V> unfiltered,
Predicate<? super java.util.Map.Entry<K,V>> entryPredicate) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Set<java.util.Map.Entry<K,V>> |
createEntrySet()
Creates the entry set to be returned by
Maps.ViewCachingAbstractMap.entrySet() . |
(package private) java.util.Set<K> |
createKeySet() |
apply, containsKey, createValues, get, isEmpty, put, putAll, remove
entrySet, keySet, values
clear, clone, containsValue, equals, hashCode, size, toString
protected java.util.Set<java.util.Map.Entry<K,V>> createEntrySet()
Maps.ViewCachingAbstractMap
Maps.ViewCachingAbstractMap.entrySet()
. This method
is invoked at most once on a given map, at the time when entrySet
is first called.createEntrySet
in class Maps.ViewCachingAbstractMap<K,V>
java.util.Set<K> createKeySet()
createKeySet
in class Maps.ViewCachingAbstractMap<K,V>