Here you can find the source of longArrayToIntArray(long[] longs)
public static int[] longArrayToIntArray(long[] longs)
//package com.java2s; //License from project: LGPL public class Main { public static int[] longArrayToIntArray(long[] longs) { int[] ret = new int[longs.length * 2]; for (int i = 0; i < longs.length; i++) { ret[i] = (int) (longs[i] >>> 32); ret[i + 1] = (int) longs[i]; }/* w ww .j a v a 2s. co m*/ return ret; } }