- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testFirst_emptyIterable (0.11 seconds)
-
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
} public void testFirst_iterable() { Set<String> set = ImmutableSet.of("a", "b", "c"); assertThat(FluentIterable.from(set).first()).hasValue("a"); } public void testFirst_emptyIterable() { Set<String> set = new HashSet<>(); assertThat(FluentIterable.from(set).first()).isAbsent(); } public void testLast_list() { List<String> list = Lists.newArrayList("a", "b", "c");
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 30.5K bytes - Click Count (0)