public static long encodeHi ( long encoded , int hi ) { long h = ( ( long ) hi ) & 0xFFFF_FFFF L ; long l = encoded & 0xFFFF_FFFF L ; return ( h << 32 ) + l ; }
Sets the hi value into the given encoded value .