Module com.jongsoft.lang
Class QuadrupletImpl<X,Y,Z,D>
- java.lang.Object
-
- com.jongsoft.lang.collection.tuple.impl.AbstractTuple
-
- com.jongsoft.lang.collection.tuple.impl.PairImpl<X,Y>
-
- com.jongsoft.lang.collection.tuple.impl.TripletImpl<X,Y,Z>
-
- com.jongsoft.lang.collection.tuple.impl.QuadrupletImpl<X,Y,Z,D>
-
- All Implemented Interfaces:
Pair<X,Y>
,Quadruplet<X,Y,Z,D>
,Triplet<X,Y,Z>
,Tuple
,java.io.Serializable
public class QuadrupletImpl<X,Y,Z,D> extends TripletImpl<X,Y,Z> implements Quadruplet<X,Y,Z,D>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QuadrupletImpl(java.lang.Object... elements)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description D
getFourth()
Get the fourth element from the tuple.java.lang.String
toString()
-
Methods inherited from class com.jongsoft.lang.collection.tuple.impl.TripletImpl
getThird
-
Methods inherited from class com.jongsoft.lang.collection.tuple.impl.AbstractTuple
toList
-
-
-
-
Method Detail
-
getFourth
public D getFourth()
Description copied from interface:Quadruplet
Get the fourth element from the tuple.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classTripletImpl<X,Y,Z>
-
-