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