Here you can find the source of printListV(List
public static <T> void printListV(List<T> l)
//package com.java2s; //License from project: Apache License import java.util.List; public class Main { public static <T> void printListV(List<T> l) { for (int i = 0; i < l.size(); i++) System.out.println(l.get(i)); }// w w w . j a v a2 s .co m }