Java List Print printStringList(List list, String name)

Here you can find the source of printStringList(List list, String name)

Description

print String List

License

Apache License

Declaration

public static void printStringList(List<String> list, String name) 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.util.List;

public class Main {
    public static void printStringList(List<String> list, String name) {
        String output = "";
        for (String text : list) {
            output += " '" + text + "' ";
        }/*from   www. java 2  s .c  o m*/

        System.out.println("###########" + name + "########## " + output);
    }
}

Related

  1. printout(List record)
  2. printPerformanceStats(String message, List iterationTimesInNanoseconds)
  3. printQueryResults(List res)
  4. printRules(List rules, Class clazz)
  5. printStats(final List shocktimes)
  6. printStringList(List listToPrint)
  7. printStringList(List strings)
  8. printTable(List data)
  9. printTopNTokens(LinkedList> list, int n)