Java, Eclipse Collections, Open Source, Primitive Collections, Java Stream Api.
Assertions.assertEquals(expected, longs); } Stream<BigDecimal> collect to DoubleList This example converts from a Stream of BigDecimal to a DoubleList. @Test public void streamToDoubleList() { Stream<BigDecimal> stream = Stream.of( BigDecimal.ZERO, BigDecimal.ONE, BigDecimal.TWO, BigDecimal.TEN);