-
- All Superinterfaces:
java.io.Serializable
,Tuple
- All Known Subinterfaces:
Quadruplet<X,Y,Z,D>
,Triplet<X,Y,Z>
- All Known Implementing Classes:
PairImpl
,QuadrupletImpl
,TripletImpl
public interface Pair<X,Y> extends Tuple
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description X
getFirst()
Get the first element from the tuple.Y
getSecond()
Get the second element from the tuple.
-