Here you can find the source of intsToString(int ints[])
static private String intsToString(int ints[])
//package com.java2s; //License from project: Apache License public class Main { static private String intsToString(int ints[]) { if (ints == null) { return ""; }/* ww w . j a va 2s. c o m*/ StringBuilder str = new StringBuilder(); for (int i = 0; i < ints.length; i++) { str.append(ints[i]); if (i < ints.length - 1) { str.append(" "); } } return str.toString(); } }