- java.lang.Object
-
- aeonics.util.Tuples
-
public class Tuples extends java.lang.Object
This collection of classes that can group different Objects together. It is useful when you need to return multiple values from a method, or when you need a final variable but still change the value from within a lambda scope.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Tuples.Quadruple<A,B,C,D>
A wrapper for four valuesstatic class
Tuples.Single<A>
A wrapper for one valuestatic class
Tuples.Triple<A,B,C>
A wrapper for three valuesstatic class
Tuples.Tuple<A,B>
A wrapper for two values
-