Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for filterValues (0.13 sec)

  1. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

                        putEntries(map, entries);
                        map.putAll(ENTRIES_TO_FILTER);
                        return Maps.filterValues(map, FILTER_VALUES);
                      }
                    })
                .named("Maps.filterValues[Map, Predicate]")
                .withFeatures(
                    MapFeature.ALLOWS_NULL_KEYS,
                    MapFeature.ALLOWS_NULL_VALUES,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapsCollectionTest.java

                        putEntries(map, entries);
                        map.putAll(ENTRIES_TO_FILTER);
                        return Maps.filterValues(map, FILTER_VALUES);
                      }
                    })
                .named("Maps.filterValues[Map, Predicate]")
                .withFeatures(
                    MapFeature.ALLOWS_NULL_KEYS,
                    MapFeature.ALLOWS_NULL_VALUES,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Multimaps.filterKeys;
    import static com.google.common.collect.Multimaps.filterValues;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.base.Predicate;
    import java.util.Map.Entry;
    import java.util.Objects;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Multimaps.filterKeys;
    import static com.google.common.collect.Multimaps.filterValues;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.base.Predicate;
    import java.util.Map.Entry;
    import java.util.Objects;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

        assertEquals(ImmutableMap.of(), filtered);
      }
    
      public void testFilteredValuesIllegalPut() {
        Map<String, Integer> unfiltered = createUnfiltered();
        Map<String, Integer> filtered = Maps.filterValues(unfiltered, EVEN);
        filtered.put("a", 2);
        unfiltered.put("b", 4);
        unfiltered.put("c", 5);
        assertEquals(ImmutableMap.of("a", 2, "b", 4), filtered);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTask.kt

                sortChanges(it.value)
            }
    
            val mismatches = originalChanges.mapValues {
                findMismatches(it.value, sortedChanges[it.key]!!)
            }.filterValues {
                it.isNotEmpty()
            }
    
            if (mismatches.isNotEmpty()) {
                val formattedMismatches = mismatches.mapValues { mismatch ->
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Nov 29 14:03:44 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

                        multimap.put("two", 159);
                        multimap.put("one", 265);
                        return filterValues(
                            multimap, not(Predicates.in(ImmutableSet.of(314, 159, 265))));
                      }
                    })
                .named("Multimaps.filterValues[SetMultimap, Predicate]")
                .withFeatures(
                    CollectionSize.ANY,
                    MapFeature.GENERAL_PURPOSE,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Sep 24 22:52:18 UTC 2025
    - 28.4K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt

            return apiChangesDirectory.get().asFile.listFiles()
                ?.filter {
                    it.name.endsWith(".json")
                }?.associate {
                    it to it.readAcceptedChanges()
                }?.filterValues {
                    it.acceptedApiChanges != null
                }?.mapValues {
                    it.value.acceptedApiChanges!!
                } ?: emptyMap()
        }
    
        private
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

                        multimap.put("two", 159);
                        multimap.put("one", 265);
                        return filterValues(
                            multimap, not(Predicates.in(ImmutableSet.of(314, 159, 265))));
                      }
                    })
                .named("Multimaps.filterValues[SetMultimap, Predicate]")
                .withFeatures(
                    CollectionSize.ANY,
                    MapFeature.GENERAL_PURPOSE,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Sep 24 22:52:18 UTC 2025
    - 28.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Maps.java

       * Predicates.instanceOf(ArrayList.class)}, which is inconsistent with equals.
       */
      public static <K extends @Nullable Object, V extends @Nullable Object> Map<K, V> filterValues(
          Map<K, V> unfiltered, Predicate<? super V> valuePredicate) {
        return filterEntries(unfiltered, valuePredicateOnEntries(valuePredicate));
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 157.6K bytes
    - Viewed (0)
Back to top