- java.lang.Object
-
- org.arakhne.afc.util.Quadruplet<A,B,C,D>
-
- 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.D
- is the type of the fourth value.
- All Implemented Interfaces:
Serializable
public class Quadruplet<A,B,C,D> extends Object implements Serializable
This class implements quadruplet 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
-
-
Constructor Summary
Constructors Constructor Description Quadruplet()
Construct the quadruplet.Quadruplet(A firstValue, B secondValue, C thirdValue, D forthValue)
Construct the quadruplet.Quadruplet(Quadruplet<? extends A,? extends B,? extends C,? extends D> quad)
Construct the quadruplet.
-
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.D
getD()
Replies the fourth 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.void
setD(D forthValue)
Set the fourth value of the pair.String
toString()
-
-
-
Constructor Detail
-
Quadruplet
public Quadruplet()
Construct the quadruplet.
-
Quadruplet
public Quadruplet(Quadruplet<? extends A,? extends B,? extends C,? extends D> quad)
Construct the quadruplet.- Parameters:
quad
- the quadruplet.
-
-
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.
-
getD
@Pure public D getD()
Replies the fourth value of the pair.- Returns:
- the fourth 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.
-
setD
public void setD(D forthValue)
Set the fourth value of the pair.- Parameters:
forthValue
- is the fourth value of the pair.
-
-