Package org.dizitart.no2.common.tuples
Class Quartet<A,B,C,D>
java.lang.Object
org.dizitart.no2.common.tuples.Quartet<A,B,C,D>
- Type Parameters:
A- the type of the first elementB- the type of the second elementC- the type of the third elementD- the type of the fourth element
- All Implemented Interfaces:
Serializable
A tuple of four elements.
- Since:
- 4.0
- Author:
- Anindya Chatterjee
- See Also:
-
Constructor Details
-
Quartet
public Quartet() -
Quartet
-
-
Method Details
-
quartet
Creates a new quartet.- Type Parameters:
A- the type parameterB- the type parameterC- the type parameterD- the type parameter- Parameters:
a- the ab- the bc- the cd- the d- Returns:
- the quartet
-
getFirst
-
getSecond
-
getThird
-
getFourth
-
setFirst
-
setSecond
-
setThird
-
setFourth
-
equals
-
hashCode
public int hashCode() -
toString
-