Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testFilterKeys (0.14 sec)

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

          new Predicate<String>() {
            @Override
            public boolean apply(String key) {
              return !"badkey".equals(key);
            }
          };
    
      public void testFilterKeys() {
        Multimap<String, Integer> unfiltered = HashMultimap.create();
        unfiltered.put("foo", 55556);
        unfiltered.put("badkey", 1);
        Multimap<String, Integer> filtered = filterKeys(unfiltered, KEY_PREDICATE);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

          new Predicate<String>() {
            @Override
            public boolean apply(String key) {
              return !"badkey".equals(key);
            }
          };
    
      public void testFilterKeys() {
        Multimap<String, Integer> unfiltered = HashMultimap.create();
        unfiltered.put("foo", 55556);
        unfiltered.put("badkey", 1);
        Multimap<String, Integer> filtered = filterKeys(unfiltered, KEY_PREDICATE);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top