public final class Tuple5<A,B,C,D,E>
extends java.lang.Object
Final immutable container for 5 objects of different types.
Values might be accessed directly: _1 and _2 and _3 and _4 and _5,
or thru getters: get_1() and get_2() and get_3() and get_4() and get_5().
tuple5(Object, Object, Object, Object, Object),
Tuple2,
Tuple3,
Tuple4| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object) |
A |
get_1()
Value of the
_1 field |
B |
get_2()
Value of the
_2 field |
C |
get_3()
Value of the
_3 field |
D |
get_4()
Value of the
_4 field |
E |
get_5()
Value of the
_5 field |
int |
hashCode() |
java.lang.String |
toString() |
static <A,B,C,D,E> |
tuple5(A _1,
B _2,
C _3,
D _4,
E _5)
Factory method to create new instance of the immutable tuple.
|
public final A _1
public final B _2
public final C _3
public final D _4
public final E _5
public static <A,B,C,D,E> Tuple5<A,B,C,D,E> tuple5(A _1, B _2, C _3, D _4, E _5)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object