Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testFilteredEntriesWildCardEntryPredicate (0.3 sec)

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

        Predicate<Object> predicate = Predicates.alwaysFalse();
        Map<String, Integer> filtered = Maps.filterEntries(unfiltered, predicate);
        assertTrue(filtered.isEmpty());
      }
    
      public void testFilteredEntriesWildCardEntryPredicate() {
        Map<String, Integer> unfiltered = createUnfiltered();
        unfiltered.put("cat", 3);
        unfiltered.put("dog", 2);
        unfiltered.put("horse", 5);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top