Here you can find the source of printObjectList(List
Parameter | Description |
---|---|
list | a parameter |
public static void printObjectList(List<Object> list)
//package com.java2s; //License from project: Open Source License import java.util.List; public class Main { /**//from ww w . java 2 s . com * Print a list of Strings separated by '/' * @param list */ public static void printObjectList(List<Object> list) { System.out.println("*StringList print starts:"); for (Object s : list) { System.out.print("/" + s.toString()); } System.out.print("*StringList print ends."); System.out.println(); } }