Java List Print print(List list)

Here you can find the source of print(List list)

Description

print

License

Open Source License

Declaration

public static <T> void print(List<T> list) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.List;

public class Main {

    public static <T> void print(List<T> list) {
        System.out.println("List: [");
        for (T t : list) {
            System.out.println(t);
        }//from  ww w . j av  a  2  s  .c o m
        System.out.println("]");
    }
}

Related

  1. print(Iterable list)
  2. print(List A, String mode)
  3. print(List items)
  4. print(List list)
  5. print(List list)
  6. print(Map> map)
  7. print_int(List l)
  8. printArgument(List parameters, StringBuilder sb)
  9. printBoard(List> board)

  10. HOME | Copyright © www.java2s.com 2016