- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testFirstMatch (0.07 seconds)
-
guava-tests/test/com/google/common/collect/FluentIterableTest.java
assertTrue(iterable.allMatch(predicate)); list.add("cool"); assertTrue(iterable.allMatch(predicate)); list.add("pants"); assertFalse(iterable.allMatch(predicate)); } public void testFirstMatch() { FluentIterable<String> iterable = FluentIterable.from(Lists.newArrayList("cool", "pants")); assertThat(iterable.firstMatch(equalTo("cool"))).hasValue("cool");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 31.2K bytes - Click Count (0)