Here you can find the source of int2long(final int[] i)
final static public long[] int2long(final int[] i)
//package com.java2s; public class Main { final static public long[] int2long(final int[] i) { final long[] l = new long[i.length]; for (int d = 0; d < l.length; ++d) l[d] = i[d];// ww w . j a v a 2 s. c o m return l; } }