Here you can find the source of toStringResult(List
public static List<String> toStringResult(List<String> list)
//package com.java2s; //License from project: Apache License import java.util.List; public class Main { public static List<String> toStringResult(List<String> list) { if (list == null || list.isEmpty()) { return null; }/*from w w w .j a v a2 s . c o m*/ return list; } public static boolean isEmpty(List<?> list) { if (list == null || list.isEmpty()) { return true; } else { return false; } } }