Java List Print printList(List l)

Here you can find the source of printList(List l)

Description

print List

License

Open Source License

Declaration

public static void printList(List<?> l) 

Method Source Code


//package com.java2s;
import java.util.*;

public class Main {
    public static void printList(List<?> l) {
        //       System.out.println("List: " + l + " items: " + l.size());
        //       System.out.println("List with items: " + l.size());
        for (Object o : l)
            System.out.println(o);
    }/*  ww w  .j  av  a 2 s.  c o m*/
}

Related

  1. printList(final List list)
  2. printList(List l)
  3. printList(List l)
  4. printList(List results)
  5. printList(List l)
  6. printList(List list0)
  7. printList(List list, String filename)
  8. printList(List list)
  9. printList(List> list)