jOOQ / jOOL

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 around sequential Streams. The JDK 8's main efforts (default methods, lambdas, and the Stream API) were focused around maintaining backwards compatibility and implementing a functional API for parallelism.
http://www.jooq.org/products
Apache License 2.0
2.09k stars 168 forks source link

Add Optional<T> percentile(double), percentile(double, Comparator<? super T>) #127

Closed lukaseder closed 8 years ago

lukaseder commented 9 years ago

Inverse distribution functions are very powerful in SQL. They might be a nice addition for jOOL as well.

Only discrete percentiles can be calculated on reference types. Continuous percentiles can be calculated on doubles, only.

lukaseder commented 8 years ago

No need to name the method "disc" for discrete, as we won't be implementing continuous percentiles