Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for filterKeys (0.3 sec)

  1. android/guava/src/com/google/common/collect/FilteredKeyMultimap.java

    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@link Multimaps#filterKeys(Multimap, Predicate)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    class FilteredKeyMultimap<K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/FilteredKeyMultimap.java

    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@link Multimaps#filterKeys(Multimap, Predicate)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    class FilteredKeyMultimap<K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/FilteredKeySetMultimap.java

    import com.google.common.base.Predicate;
    import java.util.Map.Entry;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@link Multimaps#filterKeys(SetMultimap, Predicate)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    final class FilteredKeySetMultimap<K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/FilteredKeySetMultimap.java

    import com.google.common.base.Predicate;
    import java.util.Map.Entry;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@link Multimaps#filterKeys(SetMultimap, Predicate)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    final class FilteredKeySetMultimap<K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multimaps.java

      public static <K extends @Nullable Object, V extends @Nullable Object> Multimap<K, V> filterKeys(
          Multimap<K, V> unfiltered, Predicate<? super K> keyPredicate) {
        if (unfiltered instanceof SetMultimap) {
          return filterKeys((SetMultimap<K, V>) unfiltered, keyPredicate);
        } else if (unfiltered instanceof ListMultimap) {
          return filterKeys((ListMultimap<K, V>) unfiltered, keyPredicate);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Multimaps.java

      public static <K extends @Nullable Object, V extends @Nullable Object> Multimap<K, V> filterKeys(
          Multimap<K, V> unfiltered, Predicate<? super K> keyPredicate) {
        if (unfiltered instanceof SetMultimap) {
          return filterKeys((SetMultimap<K, V>) unfiltered, keyPredicate);
        } else if (unfiltered instanceof ListMultimap) {
          return filterKeys((ListMultimap<K, V>) unfiltered, keyPredicate);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.9K bytes
    - Viewed (0)
  7. 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.
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.6K bytes
    - Viewed (0)
  8. android/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.
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
Back to top