F - First type.S - Second type.public class Pair<F,S>
extends java.lang.Object
Container to ease passing around a tuple of two objects.
| Modifier and Type | Method and Description |
|---|---|
static <A,B> Pair<A,B> |
create(A a,
B b) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic static <A,B> Pair<A,B> create(A a, B b)