Package org.fuchss.tools.tuple
Class Tuple4<A,B,C,D>
java.lang.Object
org.fuchss.tools.tuple.Tuple4<A,B,C,D>
- Type Parameters:
A
- the first typeB
- the second typeC
- the third typeD
- the fourth type
- All Implemented Interfaces:
Serializable
A simple tuple of three values
- Author:
- Dominik Fuchss
- See Also:
-
Method Details
-
of
- Type Parameters:
W
- the first typeX
- the second typeY
- the third typeZ
- the fourth type- Parameters:
wxy
- the first three valuesz
- the fourth value- Returns:
- the tuple
-
of
-
getFirst
The first value.- Returns:
- the first value
-
getSecond
The second value.- Returns:
- the second value
-
getThird
The third value.- Returns:
- the third value
-
getFourth
The fourth value.- Returns:
- the fourth value
-
hashCode
public int hashCode() -
equals
-
toString
-