15 package com.cloudera.impala.common;
 
   20 public class Pair<F, S> {
 
   24   public Pair(F first, S second) {
 
   34     if (o instanceof Pair) {
 
   36       return this.first.equals(other.first) && this.second.
equals(other.
second);
 
   43     int hashFirst = first != null ? first.hashCode() : 0;
 
   44     int hashSecond = second != null ? second.hashCode() : 0;
 
   46     return (hashFirst + hashSecond) * hashSecond + hashFirst;
 
static public< F, S > Pair< F, S > create(F first, S second)