Package com.pnfsoftware.jeb.util.base
Class Triple<A,B,C>
java.lang.Object
com.pnfsoftware.jeb.util.base.Triple<A,B,C>
- Type Parameters:
A- the first elementB- the second elementC- the third element
Handy class holding three typed elements. Null values are allowed.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Triple
Create a triple.- Parameters:
a- first elementb- second elementc- third element
-
-
Method Details
-
getFirst
- Returns:
- the first element
-
setFirst
- Parameters:
a- first element
-
getSecond
- Returns:
- the second element
-
setSecond
- Parameters:
b- second element
-
getThird
- Returns:
- the third element
-
setThird
- Parameters:
c- third element
-
hashCode
public int hashCode() -
equals
-
toString
-