Package org.apache.juneau.utils
Class Tuple5<A,B,C,D,E>
java.lang.Object
org.apache.juneau.utils.Tuple5<A,B,C,D,E>
- Type Parameters:
A
- Object 1 type.B
- Object 2 type.C
- Object 3 type.D
- Object 4 type.E
- Object 5 type.
Represents a simple tuple of 5 objects.
See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getA()
Returns the first object in this tuple.getB()
Returns the second object in this tuple.getC()
Returns the third object in this tuple.getD()
Returns the fourth object in this tuple.getE()
Returns the fifth object in this tuple.int
hashCode()
static <A,
B, C, D, E>
Tuple5<A,B, C, D, E> of
(A a, B b, C c, D d, E e) Static creator.
-
Constructor Details
-
Tuple5
Constructor.- Parameters:
a
- Object 1.b
- Object 2.c
- Object 3.d
- Object 4.e
- Object 5.
-
-
Method Details
-
of
Static creator.- Type Parameters:
A
- Object 1 type.B
- Object 2 type.C
- Object 3 type.D
- Object 4 type.E
- Object 5 type.- Parameters:
a
- Object 1.b
- Object 2.c
- Object 3.d
- Object 4.e
- Object 5.- Returns:
- A new tuple object.
-
getA
Returns the first object in this tuple.- Returns:
- The first object in this tuple.
-
getB
Returns the second object in this tuple.- Returns:
- The second object in this tuple.
-
getC
Returns the third object in this tuple.- Returns:
- The third object in this tuple.
-
getD
Returns the fourth object in this tuple.- Returns:
- The fourth object in this tuple.
-
getE
Returns the fifth object in this tuple.- Returns:
- The fifth object in this tuple.
-
hashCode
-
equals
-