Lines Matching refs:first
12 * A pair of objects: first and second.
14 * @param <F> first object type
18 public final F first;
21 protected Pair(F first, S second) {
22 this.first = first;
28 * @param first must be non-null
32 public static <F, S> Pair<F, S> of(F first, S second) {
33 if (first == null || second == null) {
36 return new Pair<F, S>(first, second);
48 return first.equals(rhs.first) && second.equals(rhs.second);
53 return first.hashCode() * 37 + second.hashCode();