Lines Matching refs:first
10 * A pair of objects: first and second.
12 * @param <F> first object type
16 public final F first;
19 protected Pair(F first, S second) {
20 this.first = first;
26 * @param first must be non-null
30 public static <F, S> Pair<F, S> of(F first, S second) {
31 if (first == null || second == null) {
34 return new Pair<F, S>(first, second);
46 return first.equals(rhs.first) && second.equals(rhs.second);
51 return first.hashCode() * 37 + second.hashCode();