Java List Print printCollection(List s)

Here you can find the source of printCollection(List s)

Description

print Collection

License

Open Source License

Declaration

public static void printCollection(List<String> s) 

Method Source Code

//package com.java2s;
/**// w  ww  . java 2  s  . c  o m
 *
 * Contains Utility Functions for debugging like Printing i/o paths 
 * 
 * @author Alok Dhamanaskar
 * @see    LICENSE (MIT style license file).
 * 
 */

import java.util.List;

public class Main {
    public static void printCollection(List<String> s) {
        for (String str : s) {
            System.out.println(str);

        }
    }
}

Related

  1. print(Map> map)
  2. print_int(List l)
  3. printArgument(List parameters, StringBuilder sb)
  4. printBoard(List> board)
  5. printBox(List data)
  6. printDataPoint(List dataPoint)
  7. printDelimited(final List list, final String delimiter)
  8. printEachLine(List list)
  9. printFiredRules(List firedRules)

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