jOOL
jOOL copied to clipboard
jOOλ - The Missing Parts in Java 8 jOOλ improves the JDK libraries in areas where the Expert Group's focus was elsewhere. It adds tuple support, function support, and a lot of additional functionality...
I re-propose attention to an old issue that has not yet been fully solved: #214 Currently jOOL offers: ```java Function Tuple.function(Function[N]) Consumer Tuple.consumer(Consumer[N]) ``` But it misses: ```java Predicate Tuple.predicate(Predicate[N])...
See also #220
It would be useful to document all the `@param` in `Agg`
Currently, when using the `Range` type, bounds are swapped by default, if they are not in order. This can be convenient occasionally, but incorrect in other cases. With the suggestion...
The current `Tuple.collectors()` implementation is a canonical one, where collectors are completely independent of one another. It would be better if they could share state in case they're related. For...
### Expected behavior and actual behavior: Re: [Median](https://infogalactic.com/info/Median) definition. See code examples below. The Agg.percentileBy method incorrectly assumes that index rounding is enough, but isn't when the the (size *...
### Expected behavior and actual behavior: I'm building a `Seq` that contains `limit()` and `window()` terms and I'm seeing some surprising behavior: * If the `limit()` comes after the window()...
### AS-IS ```java class Unchecked { public static void throwChecked(Throwable t) { SeqUtils.sneakyThrow(t); } } ``` ```java public Object foo() { if (condition) { return bar(); } else { Unchecked.throwChecked(new...
This is related to #305, where the following `Seq` methods were declared eligible for reimplementation using `SeqBuffer`: - `crossSelfJoin()` (done in #305) - `inner(Self)Join()` (done in #305) - `leftOuter(Self)Join()` (done...