public class Tuple<T,U>
Represents a pair of arbitrarily typed items
| Constructor and Description |
|---|
Tuple(T first,
U second)
Represents a pair of arbitrarily typed items
|
| Modifier and Type | Method and Description |
|---|---|
T |
component1() |
U |
component2() |
Tuple<T,U> |
copy(T first,
U second)
Represents a pair of arbitrarily typed items
|
boolean |
equals(java.lang.Object p) |
T |
getFirst() |
U |
getSecond() |
int |
hashCode() |
java.lang.String |
toString() |
public Tuple(T first,
U second)
Represents a pair of arbitrarily typed items
public T getFirst()
public U getSecond()
public T component1()
public U component2()
public Tuple<T,U> copy(T first, U second)
Represents a pair of arbitrarily typed items
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)