com.softicar.platform.common.container.list.ListUtils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of platform-common Show documentation
Show all versions of platform-common Show documentation
The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.
package com.softicar.platform.common.container.list;
import java.util.Collection;
import java.util.List;
public class ListUtils {
public static List convertToString(Collection collection) {
List strings = ListFactory.createArrayList();
for (Object object: collection) {
strings.add(object != null? object.toString() : "null");
}
return strings;
}
}