- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testStream (0.11 seconds)
-
guava-tests/test/com/google/common/collect/FluentIterableTest.java
* overkill when nearly all Streams are produced using well-tested JDK calls. So, we cheat and * just test that the toArray() contents are as expected. */ public void testStream() { assertThat(FluentIterable.of().stream()).isEmpty(); assertThat(FluentIterable.of("a").stream()).containsExactly("a"); assertThat(FluentIterable.of(1, 2, 3).stream().filter(n -> n > 1)).containsExactly(2, 3);
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)