Here you can find the source of intToLongArr(int[] intArr)
private static long[] intToLongArr(int[] intArr)
//package com.java2s; //License from project: Open Source License public class Main { private static long[] intToLongArr(int[] intArr) { long[] longArr = new long[intArr.length]; for (int i = 0; i < intArr.length; i++) { longArr[i] = Long.valueOf(intArr[i]).intValue(); }/* www . ja v a2 s.co m*/ return longArr; } }