Here you can find the source of convertIntegerToInt(Integer[] values)
public static int[] convertIntegerToInt(Integer[] values)
//package com.java2s; //License from project: Open Source License public class Main { public static int[] convertIntegerToInt(Integer[] values) { int[] intValues = new int[values.length]; for (int i = 0; i < values.length; i++) intValues[i] = values[i];/*from w w w .j av a 2s . co m*/ return intValues; } }