Package org.storynode.pigeon.tuple
Class Triplet<T1,T2,T3>
java.lang.Object
org.storynode.pigeon.tuple.Tuple
org.storynode.pigeon.tuple.Triplet<T1,T2,T3>
- Type Parameters:
T1- The type of the first elementT2- The type of the second elementT3- The type of the third element
Triplet class.
- Since:
- 1.0.0
- Author:
- Andrea Coronese
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Triplet
Constructor for Triplet.- Parameters:
first- a T1 objectsecond- a T2 objectthird- a T3 object
-
-
Method Details
-
first
The first element of the tuple- Returns:
- The first element
-
second
The second element of the tuple- Returns:
- The second element
-
third
The third element of the tuple- Returns:
- The third element
-
cardinality
public int cardinality() -
at
-
hashCode
public int hashCode() -
toString
-