Here you can find the source of toLongs(int[] array)
public static long[] toLongs(int[] array)
//package com.java2s; //License from project: Apache License public class Main { public static long[] toLongs(int[] array) { long[] ret = new long[array.length]; for (int e = 0; e < array.length; e++) { ret[e] = array[e];/*from www. ja v a 2s . c o m*/ } return ret; } }