Java, Eclipse Collections, Open Source, Primitive Collections, Java Stream Api.
BigInteger::intValueExact, IntLists.mutable::empty)); IntList expected = IntLists.mutable.with(0, 1, 2, 10); Assertions.assertEquals(expected, ints); } Stream<BigDecimal> collect to FloatSet This example converts from a Stream of BigDecimal to a FloatSet. @Test public void streamToFloatSet() {