Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for filterKeys (0.15 sec)

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

                        multimap.put("bar", 32);
                        multimap.put("foo", 16);
                        multimap = filterKeys(multimap, not(equalTo("foo")));
                        return filterKeys(multimap, not(equalTo("bar")));
                      }
                    })
                .named("Multimaps.filterKeys[Multimaps.filterKeys[ListMultimap], Predicate]")
                .withFeatures(
                    CollectionSize.ANY,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

                        multimap.put("bar", 32);
                        multimap.put("foo", 16);
                        multimap = filterKeys(multimap, not(equalTo("foo")));
                        return filterKeys(multimap, not(equalTo("bar")));
                      }
                    })
                .named("Multimaps.filterKeys[Multimaps.filterKeys[ListMultimap], Predicate]")
                .withFeatures(
                    CollectionSize.ANY,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  3. android/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.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  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