private static boolean equals(Object x, Object y) {
    return (x == null && y == null) || (x != null && x.equals(y));
  }
Return the second element stored in the pair.
hbase-common/src/main/java/org/apache/hadoop/hbase/util/PairOfSameType.java