Home | History | Annotate | Download | only in impl

Lines Matching defs:Pair

12  * A pair of objects: first and second.
17 public class Pair<F, S> {
21 protected Pair(F first, S second) {
27 * Creates a pair object
30 * @return The pair object.
32 public static <F, S> Pair<F, S> of(F first, S second) {
34 throw new IllegalArgumentException("Pair.of requires non null values.");
36 return new Pair<F, S>(first, second);
44 if (!(other instanceof Pair)) {
47 Pair<?, ?> rhs = (Pair<?, ?>) other;