Java, Eclipse Collections, Open Source, Primitive Collections, Java Stream Api.
Assertions.assertEquals(expected, characters); } Stream<Sh> collect to ShortBag I created a Java record for this example named Sh… Sh was shorter than Short. Sh holds onto a short, which is cast in the constructor from int. Like byte, there is no short short literal in Java, so we have to cast an