Esempio n. 1
0
 @Test
 public void testToJooqLambda() throws Exception {
   assertThat(
       ToStream.toJooqLambda(FluentIterable.of(new Integer[] {1, 2, 3, 4}))
           .collect(Collectors.toList())
           .size(),
       is(4));
 }
Esempio n. 2
0
 @Test
 public void testToJooqLambda() throws Exception {
   assertThat(
       ToStream.toJooqLambda(LazyStream.of(1, 2, 3, 4)).collect(Collectors.toList()).size(),
       is(4));
 }