Java, Eclipse Collections, Open Source, Primitive Collections, Java Stream Api.
we are looking to avoid. Another option is to convert a primitive Stream into a primitive array. Unfortunately, arrays in Java have no useful behavior. They can tell us their length and give us mutable access to their elements so we can loop over them or change them. We can rewrap int[], long[],