Here you can find the source of toInt(short x, short y)
public static int toInt(short x, short y)
//package com.java2s; public class Main { public static int toInt(short x, short y) { return (x << 16) | (y & 0xffff); }/* w w w . j av a2 s .c o m*/ }