- java.lang.Object
-
- org.arakhne.afc.util.Triplet<A,B,C>
-
- Type Parameters:
A
- is the type of the first value.B
- is the type of the second value.C
- is the type of the third value.
- All Implemented Interfaces:
Serializable
public class Triplet<A,B,C> extends Object implements Serializable
This class implements triplet of values.- Version:
- 17.0 2020-01-04 14:41:38
- Author:
- Stéphane GALLAND
- See Also:
- Serialized Form
- Maven Group Id:
- org.arakhne.afc.core
- Maven Artifact Id:
- util
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
A
getA()
Replies the first value of the pair.B
getB()
Replies the second value of the pair.C
getC()
Replies the third value of the pair.int
hashCode()
void
setA(A firstValue)
Set the first value of the pair.void
setB(B secondValue)
Set the second value of the pair.void
setC(C thirdValue)
Set the third value of the pair.String
toString()
-
-
-
Method Detail
-
getA
@Pure public A getA()
Replies the first value of the pair.- Returns:
- the first value of the pair.
-
getB
@Pure public B getB()
Replies the second value of the pair.- Returns:
- the second value of the pair.
-
getC
@Pure public C getC()
Replies the third value of the pair.- Returns:
- the third value of the pair.
-
setA
public void setA(A firstValue)
Set the first value of the pair.- Parameters:
firstValue
- is the first value of the pair.
-
setB
public void setB(B secondValue)
Set the second value of the pair.- Parameters:
secondValue
- is the second value of the pair.
-
setC
public void setC(C thirdValue)
Set the third value of the pair.- Parameters:
thirdValue
- is the third value of the pair.
-
-