Questions tagged [jool-library]

Jool is a Library created by JOOQ as a project from them to escape the shortcomings of Java 8 lambda expressions & streams. It contains utility classes and Checked Exception handled versions of Functional Interfaces available in java 8.

4 questions
3
votes
2 answers

Why do we need JOOL from JOOQ?

Going through JOOL library from JOOQ which provides lots of Functional Interfaces and Utility classes on Streams. My question is there are 1-16 parameter functional interfaces supported by this library. Do this makes sense at all? As I have always…
Vinay Prajapati
  • 7,199
  • 9
  • 45
  • 86
2
votes
1 answer

How to create a Range in JOOL

Can anyone help me with an example of how to create Range in JOOL & What is the meaning of a Range in JOOL? Its java doc says A range is a special {@link Tuple2} with two times the same type. Also, Range has methods like public boolean…
Vinay Prajapati
  • 7,199
  • 9
  • 45
  • 86
1
vote
1 answer

Summarize BigDecimal grouping by properties using jOOλ

I am trying to summarize Bigdecimal field, using jOOλ library (https://github.com/jOOQ/jOOL) This is my code, but it works only for summarizing Doubles. Here I sum field x, and grouping by fields w,z: class A { final int w; final Double x; …
Leo
  • 1,029
  • 4
  • 19
  • 40
0
votes
2 answers

JOOL tree structure

I have a collection of documents: List listDocs. The document has the structure of the form: id, level, aoguid, parentguid, formalname, currstatus . This structure allows you to create a tree structure of addresses. That is: a country - level 1,…
maksim2112
  • 381
  • 7
  • 21