public static int getFirstInt(long pair) {
    return (int) (pair >> 32);
  }
Get the first int stored in a long value.

@param pair The pair generated from makeIntPair
@return The first value stored in the long
common/src/java/org/apache/hadoop/hive/common/NumberUtils.java