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