Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for filterKeys (0.23 sec)

  1. guava/src/com/google/common/util/concurrent/ServiceManager.java

              throw new TimeoutException(
                  "Timeout waiting for the services to become healthy. The "
                      + "following services have not started: "
                      + Multimaps.filterKeys(servicesByState, in(ImmutableSet.of(NEW, STARTING))));
            }
            checkHealthy();
          } finally {
            monitor.leave();
          }
        }
    
        void awaitStopped() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  2. 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;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  3. 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, final 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  4. 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, final Predicate<? super K> keyPredicate) {
        checkNotNull(keyPredicate);
        Predicate<Entry<K, ?>> entryPredicate = keyPredicateOnEntries(keyPredicate);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  5. 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, final Predicate<? super K> keyPredicate) {
        checkNotNull(keyPredicate);
        Predicate<Entry<K, ?>> entryPredicate = keyPredicateOnEntries(keyPredicate);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  6. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
Back to top