Here you can find the source of int2string(int[] a)
public static String int2string(int[] a)
//package com.java2s; //License from project: Apache License public class Main { public static String int2string(int[] a) { if (a.length < 1) return ""; String s = String.valueOf(a[0]); for (int i = 1; i < a.length; i++) s += "," + String.valueOf(a[i]); return s; }/*from ww w. j a va2s.c om*/ }