Пример #1
0
 @Test
 public void testToLazySeq() throws Exception {
   assertThat(ToStream.toLazySeq(LazyStream.of(1, 2, 3, 4)).toList().size(), is(4));
 }
Пример #2
0
 @Test
 public void testToLazySeq() throws Exception {
   assertThat(
       ToStream.toLazySeq(FluentIterable.of(new Integer[] {1, 2, 3, 4})).toList().size(), is(4));
 }