Open donraab opened 1 year ago
Since 10.0, we have had primitiveStream on IntList, LongList and DoubleList. This makes the following possible:
IntList
LongList
DoubleList
List<String> list = IntLists.immutable.of(1, 2, 3) .primitiveStream() .mapToObj(Integer::toString) .toList(); Assertions.assertEquals(List.of("1", "2", "3"), list);
There is no equivalent for IntBag, LongBag, and DoubleBag today. This will additionally require creating spliterator() for each of these.
IntBag
LongBag
DoubleBag
spliterator()
hi @donraab - happy to take a look at this
Thanks for volunteering @Desislav-Petrov! I have assigned the issue to you.
Is this issue still open @donraab ?
Since 10.0, we have had primitiveStream on
IntList
,LongList
andDoubleList
. This makes the following possible:There is no equivalent for
IntBag
,LongBag
, andDoubleBag
today. This will additionally require creatingspliterator()
for each of these.