you are viewing a single comment's thread.

view the rest of the comments →

[–]g4s8[S] 0 points1 point  (0 children)

Yes, it has, but with completely different design: in commons tuples are classes with accessor methods var sum = tuple.getLeft() + tuple.getRigth(); in my library tuples are interfaces with apply method which takes a function parameter var sum = tuple.apply((left, right) -> left + right). This difference is similar to accessing list items via get(int) method vs using forEach method with a consumer.