@InterfaceAudience.Public @InterfaceStability.Evolving public class ListUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
asList(String property,
String delimiter)
Gets the property as list based on the delimiters provided, and uses
LinkedList. |
static <E> List<E> |
asList(String property,
String delimiter,
Class<? extends List> klass,
Class<E> elementClass)
Gets the property as list based on the delimiter provided, and uses your
specified class.
|
public static List<String> asList(String property, String delimiter)
LinkedList.property - the propertydelimiter - the delimiterpublic static <E> List<E> asList(String property, String delimiter, Class<? extends List> klass, Class<E> elementClass)
E - the element typeproperty - the propertydelimiter - the delimiterklass - the klasselementClass - the element classCopyright © 2016 utils4j. All Rights Reserved.