Java, Eclipse Collections, Open Source, Primitive Collections, Java Stream Api.
examples. IntStream collect to IntList @Test public void intStreamToIntList() { IntStream intStream = IntStream.of(1, 2, 3, 4, 5); // Three Musketeer collect IntList ints = intStream.collect( IntLists.mutable::empty, // Supplier MutableIntList::add, // ObjIntConsumer MutableIntList::addAll); //