Donald Raab
Donald Raab
The upgrade to Java 11 will break compatibility with Java 8. There are a few library and language features that we would like to leverage in Eclipse Collections that were...
Currently, `summaryStatistics` uses the default implementation which does not optimize for duplicates in Bags. It currently iterates over every element in the Bag. The method `summaryStatistics` should be overridden and...
The code currently in withAll on both mutable and immutable implementations calls toArray on IntStream which if the Stream is very large can be extremely expensive and won't take advantage...
I discovered there is an overflow error using `sumOfInt` in the following code when the batch size exceeded 536 This code returned the correct sum: ``` long sum = Interval.oneTo(2_000_000)...
A complicated but hopefully minor issue was discovered during a workshop for Grace Hopper Celebration. A new contributor upgraded the Eclipse Collections Kata to version 12.0.0.M3 and a test began...
Since 10.0, we have had primitiveStream on `IntList`, `LongList` and `DoubleList`. This makes the following possible: ``` List list = IntLists.immutable.of(1, 2, 3) .primitiveStream() .mapToObj(Integer::toString) .toList(); Assertions.assertEquals(List.of("1", "2", "3"), list);...
CaseFunction currently has no JavaDoc. It should clarify that the cases are evaluated in order and the first match results in a return value. Multiple cases are not supported.
Since 10.0, we have had primitiveStream on `IntList`, `LongList` and `DoubleList`. This makes the following possible: ``` List list = IntLists.immutable.of(1, 2, 3) .primitiveStream() .mapToObj(Integer::toString) .toList(); Assertions.assertEquals(List.of("1", "2", "3"), list);...
Today, the generated code for lazy int returns the following, which will overflow silently for large sums. ``` private static final class IntSumProcedure implements IntProcedure { private int sum =...
RichIterable currently has `groupBy` / `groupByEach` but only has `groupByUniqueKey` without the corresponding `groupByEachUniqueKey`. The method `groupByEachUniqueKey` would index an item in a `Map` using multiple keys. Each key will...