public class Unsigned
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static short |
byteToShort(byte value) |
static long |
intToLong(int value) |
static int |
shortToInt(short value) |
public static long intToLong(int value)
value
- an unsigned Integer
valueLong
that is bitwise equal to value
public static int shortToInt(short value)
value
- an unsigned Short
valueInteger
that is bitwise equal to value
public static short byteToShort(byte value)
value
- an unsigned Byte
valueShort
that is bitwise equal to value