@Test public void testShortToInt() { assertEquals(Unsigned.shortToInt((short) 0xffff), 0xffff); assertEquals(Unsigned.shortToInt((short) 0xff), 0xff); assertEquals(Unsigned.shortToInt((short) 0), 0); assertEquals(Unsigned.shortToInt((short) 42), 42); }
public static int shortToInt(short value) { return value & 0xffff; }
Unsigned { public static int shortToInt(short value) { return value & 0xffff; } }
Unsigned { public static int shortToInt(short value) { return value & 0xffff; } private  Unsigned(); }
Unsigned { public static int shortToInt(short value) { return value & 0xffff; } private  Unsigned(); static long intToLong(int value); static int shortToInt(short value); static short byteToShort(byte value); }
Unsigned { public static int shortToInt(short value) { return value & 0xffff; } private  Unsigned(); static long intToLong(int value); static int shortToInt(short value); static short byteToShort(byte value);  }