Here you can find the source of toInt(String[] a, int off, int len)
public static int[] toInt(String[] a, int off, int len)
//package com.java2s; //License from project: Apache License public class Main { public static int[] toInt(String[] a, int off, int len) { int[] res = new int[len]; for (int i = 0; i < len; i++) res[i] = Integer.valueOf(a[off + i]); return res; }/* w w w . j a va2s . com*/ }