Class Tuple<X,Y> (2.8.4)

public class Tuple<X,Y>

Inheritance

java.lang.Object > Tuple<X,Y>

Type Parameters

NameDescription
X
Y

Static Methods

<X,Y>of(X x, Y y)

public static Tuple<X,Y> <X,Y>of(X x, Y y)
Parameters
NameDescription
xX
yY
Returns
TypeDescription
Tuple<X,Y>

Methods

x()

public X x()
Returns
TypeDescription
X

y()

public Y y()
Returns
TypeDescription
Y