List of utility methods to do Long to Int
Integer | longToInteger(long l) long To Integer if (l >= Integer.MIN_VALUE && l <= Integer.MAX_VALUE) { return (int) l; return null; |
int | longToIntHashCode(long value) Converts long value to int hash code. return Long.valueOf(value).hashCode();
|
int[] | longToInts(long n) long To Ints return longToInts(n, new int[2], 0); |