Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for filterKeys (0.16 seconds)

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

     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.collect.Multimaps.filterKeys;
    import static com.google.common.collect.Multimaps.synchronizedListMultimap;
    import static com.google.common.collect.Multimaps.synchronizedMultimap;
    import static com.google.common.collect.Multimaps.synchronizedSetMultimap;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 39.2K bytes
    - Click Count (0)
  2. 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> filterKeys(
          Map<K, V> unfiltered, Predicate<? super K> keyPredicate) {
        checkNotNull(keyPredicate);
        Predicate<Entry<K, ?>> entryPredicate = keyPredicateOnEntries(keyPredicate);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
  3. 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> filterKeys(
          Map<K, V> unfiltered, Predicate<? super K> keyPredicate) {
        checkNotNull(keyPredicate);
        Predicate<Entry<K, ?>> entryPredicate = keyPredicateOnEntries(keyPredicate);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/IterablesTest.java

                  }
                }));
        assertEquals(newArrayList("a", "c", "e"), list);
      }
    
      // The Maps returned by Maps.filterEntries(), Maps.filterKeys(), and
      // Maps.filterValues() are not tested with removeIf() since Maps are not
      // Iterable.  Those returned by Iterators.filter() and Iterables.filter()
      // are not tested because they are unmodifiable.
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 47.5K bytes
    - Click Count (0)
Back to Top