List of utility methods to do Integer to Long
long[] | int2long(final int[] i) intlong final long[] l = new long[i.length]; for (int d = 0; d < l.length; ++d) l[d] = i[d]; return l; |
long | int2long(int i) intlong long l = i & 0x7fffffffL; if (i < 0) { l |= 0x080000000L; return l; |
long | int2long(int tInt) intlong return Long.valueOf(String.valueOf(tInt)).longValue();
|
Long | intToLong(final int value) int To Long return (long) value; |
long | intToLong(int high, int low) int To Long return (((long) high) << 32) | (((long) low) & 0xffffffffl); |
long[] | intToLong(int[] values) int To Long if (values == null) { return null; long[] results = new long[values.length]; for (int i = 0; i < values.length; i++) { results[i] = values[i]; return results; ... |
long[] | intToLongArr(int[] intArr) int To Long Arr long[] longArr = new long[intArr.length]; for (int i = 0; i < intArr.length; i++) { longArr[i] = Long.valueOf(intArr[i]).intValue(); return longArr; |