MCPcopy Index your code
hub / github.com/antlr/codebuff / filterFiltered

Method filterFiltered

output/java_guava/1.4.19/Maps.java:2695–2697  ·  view source on GitHub ↗

Support clear(), removeAll(), and retainAll() when filtering a filtered map.

(AbstractFilteredMap<K, V> map, Predicate<? super Entry<K, V>> entryPredicate)

Source from the content-addressed store, hash-verified

2693 */
2694
2695 private static <K, V> Map<K, V> filterFiltered(AbstractFilteredMap<K, V> map, Predicate<? super Entry<K, V>> entryPredicate) {
2696 return new FilteredEntryMap<K, V>(map.unfiltered, Predicates.<Entry<K, V>>and(map.predicate, entryPredicate));
2697 }
2698
2699 private abstract static class AbstractFilteredMap<K, V> extends ViewCachingAbstractMap<K, V> {
2700 final Map<K, V> unfiltered;

Callers 2

filterKeysMethod · 0.95
filterEntriesMethod · 0.95

Calls 3

andMethod · 0.95
unfilteredMethod · 0.65
sortedMapMethod · 0.45

Tested by

no test coverage detected