Here you can find the source of printList(List
public static void printList(List<String> truthTableHeader)
//package com.java2s; //License from project: Open Source License import java.util.List; public class Main { public static void printList(List<String> truthTableHeader) { for (String str : truthTableHeader) { System.out.print(str + " "); }// ww w . ja va2 s . com System.out.print("\n"); } }