- java.lang.Object
-
- aeonics.util.Tuples.Tuple<A,B>
-
- Type Parameters:
A- the first value typeB- the second value type
- Enclosing class:
- Tuples
public static class Tuples.Tuple<A,B> extends java.lang.ObjectA wrapper for two values
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static <X,Y>
Tuples.Tuple<X,Y>of(X a, Y b)Creates a new two-value wrapper
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
of
public static <X,Y> Tuples.Tuple<X,Y> of(X a, Y b)
Creates a new two-value wrapper- Type Parameters:
X- the first value typeY- the second value type- Parameters:
a- the first valueb- the second value- Returns:
- a new two-value wrapper
-
-