- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testFrequency_list (0.25 sec)
-
android/guava-tests/test/com/google/common/collect/IterablesTest.java
assertEquals(1, frequency(set, "c")); assertEquals(0, frequency(set, "d")); assertEquals(0, frequency(set, 4.2)); assertEquals(0, frequency(set, null)); } public void testFrequency_list() { List<String> list = newArrayList("a", "b", "a", "c", "b", "a"); assertEquals(3, frequency(list, "a")); assertEquals(2, frequency(list, "b")); assertEquals(1, frequency(list, "c"));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 19:12:33 UTC 2024 - 45K bytes - Viewed (0)