Java, Eclipse Collections, Open Source, Primitive Collections, Java Stream Api.
Assertions.assertEquals(expected, floats); } Stream<LocalDate> collect to LongBag This example converts from a Stream of LocalDate to a LongBag containing the LocalDate instances converted to their epochDay. @Test public void streamToLongBag() { LocalDate now = LocalDate.of(2024, Month.MAY, 31);