Here you can find the source of print_int(List
public static void print_int(List<Integer> l)
//package com.java2s; //License from project: Open Source License import java.util.List; public class Main { public static void print_int(List<Integer> l) { for (int i = 0; i < l.size(); i++) { System.out.print(l.get(i)); if (i < l.size() - 1) System.out.print(", "); }//from ww w . ja v a 2 s.c o m System.out.println(); } }