com.tw.go.plugin.util.ListUtil Maven / Gradle / Ivy
package com.tw.go.plugin.util;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
public class ListUtil {
public static boolean isEmpty(List list) {
return list == null || list.isEmpty();
}
public static String join(Collection c) {
return join(c, ", ");
}
public static String join(Collection c, String join) {
StringBuffer sb = new StringBuffer();
for (Iterator
© 2015 - 2025 Weber Informatics LLC | Privacy Policy