com.opensymphony.xwork2.util
Class ArrayUtils
java.lang.Object
com.opensymphony.xwork2.util.ArrayUtils
public class ArrayUtils
- extends Object
- Author:
- Dan Oxlade, dan d0t oxlade at gmail d0t c0m
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrayUtils
public ArrayUtils()
isEmpty
public static boolean isEmpty(Object[] array)
isNotEmpty
public static boolean isNotEmpty(Object[] array)
asCollection
public static Collection<String> asCollection(String commaDelim)
- Return a collection from the comma delimited String.
- Parameters:
commaDelim
- the comma delimited String.
- Returns:
- A collection from the comma delimited String. Returns null if the string is empty.
asSet
public static <T> Set<T> asSet(T... element)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.