Java, Eclipse Collections, Open Source, Primitive Collections, Java Stream Api.
Assertions.assertEquals(2, booleans.occurrencesOf(false)); } Stream<String> collect to ByteList This example converts a Stream of String into a ByteList. @Test public void streamToByteList() { Stream<String> stream = Stream.of("1", "2", "3", "4", "5"); ByteList bytes = stream.collect(