Yes, but tuples are generally useful outside of lambdas, well, at least the size 2 kind.
Gary On Mon, May 22, 2017 at 11:24 AM, Pascal Schumacher < pascalschumac...@gmx.net> wrote: > Am 22.05.2017 um 17:55 schrieb Matt Sicker: > >> For the tuple classes, it would be possible to make an entire tuples >> library. Might be handy to generate code for it as it'd be useful to >> support tuples up to, say, 22 fields (Scala has tuple classes and >> anonymous >> function classes up to 22 arguments, for example). See < >> https://www.scala-lang.org/api/current/scala/Tuple22.html>. >> > Well there are already good Apache 2.0 licensed java libraries for tuples > and functions, e.g.: > > https://github.com/jOOQ/jOOL (up to 16) > > https://github.com/vavr-io/vavr (up to 8) > > (both of course offer more that just tuples and functions). > > Just saying. > > Cheers, > Pascal > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > > -- E-Mail: garydgreg...@gmail.com | ggreg...@apache.org Java Persistence with Hibernate, Second Edition <https://www.amazon.com/gp/product/1617290459/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1617290459&linkCode=as2&tag=garygregory-20&linkId=cadb800f39946ec62ea2b1af9fe6a2b8> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1617290459> JUnit in Action, Second Edition <https://www.amazon.com/gp/product/1935182021/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182021&linkCode=as2&tag=garygregory-20&linkId=31ecd1f6b6d1eaf8886ac902a24de418%22> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182021> Spring Batch in Action <https://www.amazon.com/gp/product/1935182951/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182951&linkCode=%7B%7BlinkCode%7D%7D&tag=garygregory-20&linkId=%7B%7Blink_id%7D%7D%22%3ESpring+Batch+in+Action> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182951> Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory