Java, Eclipse Collections, Open Source, Primitive Collections, Java Stream Api.
DoubleList doubles = stream.collect( Collectors2.collectDouble( BigDecimal::doubleValue, DoubleLists.mutable::empty)); DoubleList expected = DoubleLists.mutable.with(0.0d, 1.0d, 2.0d, 10.0d); Assertions.assertEquals(expected, doubles); } Efficiency is still our problem I love Java, and can’t wait