Here you can find the source of convertArrayToInteger(String[] input)
public static int[] convertArrayToInteger(String[] input)
//package com.java2s; //License from project: LGPL public class Main { public static int[] convertArrayToInteger(String[] input) { int[] result = new int[input.length]; for (int i = 0; i < input.length; i++) { result[i] = Integer.parseInt(input[i].trim()); }/*from w w w . j av a 2s . c o m*/ return result; } }