Here you can find the source of convertInt(String[] idArray)
public static int[] convertInt(String[] idArray)
//package com.java2s; //License from project: Open Source License public class Main { public static int[] convertInt(String[] idArray) { int[] desArray = new int[idArray.length]; for (int i = 0; i < desArray.length; i++) { desArray[i] = Integer.parseInt(idArray[i]); }/*from ww w .jav a 2 s. c o m*/ return desArray; } }