- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testFirst_emptyIterable (0.2 sec)
-
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 = Sets.newHashSet(); assertThat(FluentIterable.from(set).first()).isAbsent(); } public void testLast_list() { List<String> list = Lists.newArrayList("a", "b", "c");
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 06 17:32:08 GMT 2023 - 30.6K bytes - Viewed (0) -
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 = Sets.newHashSet(); assertThat(FluentIterable.from(set).first()).isAbsent(); } public void testLast_list() { List<String> list = Lists.newArrayList("a", "b", "c");
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 06 18:35:19 GMT 2024 - 31.1K bytes - Viewed (0)