Package es.bsc.dataclay.util.structs
Class Triple<X,Y,Z>
- java.lang.Object
- 
- es.bsc.dataclay.util.structs.Triple<X,Y,Z>
 
- 
- Type Parameters:
- X- First element type
- Y- Second element type
- Z- Third element type
 - All Implemented Interfaces:
- Serializable
 
 public final class Triple<X,Y,Z> extends Object implements Serializable This class represents a tuple of three elements.- See Also:
- Serialized Form
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object t)XgetFirst()Get the Tuple::firstYgetSecond()Get the Tuple::secondZgetThird()Get the Tuple::thirdinthashCode()voidsetFirst(X newfirst)Set the Tuple::firstvoidsetSecond(Y newsecond)Set the Tuple::secondvoidsetThird(Z newthird)Set the Tuple::thirdStringtoString()
 
- 
- 
- 
Method Detail- 
getFirstpublic X getFirst() Get the Tuple::first- Returns:
- the first
 
 - 
setFirstpublic void setFirst(X newfirst) Set the Tuple::first- Parameters:
- newfirst- the first to set
 
 - 
getSecondpublic Y getSecond() Get the Tuple::second- Returns:
- the second
 
 - 
setSecondpublic void setSecond(Y newsecond) Set the Tuple::second- Parameters:
- newsecond- the second to set
 
 - 
getThirdpublic Z getThird() Get the Tuple::third- Returns:
- the third
 
 - 
setThirdpublic void setThird(Z newthird) Set the Tuple::third- Parameters:
- newthird- the third to set
 
 
- 
 
-