public class Pair<X,Y>
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
X |
_1() |
Y |
_2() |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
static <X,Y> java.util.List<Pair<X,Y>> |
product(X[] xs,
Y[] ys) |
java.lang.String |
toString() |
public X _1()
public Y _2()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public static <X,Y> java.util.List<Pair<X,Y>> product(X[] xs, Y[] ys)