Returns a map containing the mappings in unfiltered whose values satisfy a predicate. The returned map is a live view of unfiltered; changes to one affect the other. The resulting map's keySet(), entrySet(), and values() views have iterators that don't sup
(Map<K, V> unfiltered, final Predicate<? super V> valuePredicate)
| 2427 | |
| 2428 | |
| 2429 | public static <K, V> Map<K, V> filterValues(Map<K, V> unfiltered, final Predicate<? super V> valuePredicate) { |
| 2430 | return filterEntries(unfiltered, Maps.<V>valuePredicateOnEntries(valuePredicate)); |
| 2431 | } |
| 2432 | |
| 2433 | /** |
| 2434 | * Returns a sorted map containing the mappings in {@code unfiltered} whose |
nothing calls this directly
no test coverage detected