Java examples for java.lang:int Array
get Primitive Array Integer
//package com.java2s; public class Main { public static int[] getPrimitiveArrayInteger(Integer[] array) { int[] primitive = new int[array.length]; for (int i = 0; i < array.length; ++i) primitive[i] = array[i];/*from w ww. ja va2 s . c o m*/ return primitive; } }