Closed bhchandra closed 5 years ago
fixes #10.
It would be great if you add UMath to JOOU.
UMath
I always end up creating quick local functions as below, and forgetting about them. BinaryOperator<UInteger> max = (u1, u2) -> u1.compareTo(u2) >= 0 ? u1 : u2;
BinaryOperator<UInteger> max = (u1, u2) -> u1.compareTo(u2) >= 0 ? u1 : u2;
Thanks a lot for your contribution. I agree, those utility methods would be useful.
fixes #10.
It would be great if you add
UMath
to JOOU.I always end up creating quick local functions as below, and forgetting about them.
BinaryOperator<UInteger> max = (u1, u2) -> u1.compareTo(u2) >= 0 ? u1 : u2;