com.opensymphony.xwork2.util
Class ArrayUtils

java.lang.Object
  extended by com.opensymphony.xwork2.util.ArrayUtils

public class ArrayUtils
extends java.lang.Object

Author:
Dan Oxlade, dan d0t oxlade at gmail d0t c0m

Constructor Summary
ArrayUtils()
           
 
Method Summary
static java.util.Collection<java.lang.String> asCollection(java.lang.String commaDelim)
          Return a collection from the comma delimited String.
static
<T> java.util.Set<T>
asSet(T... element)
           
static boolean isEmpty(java.lang.Object[] array)
           
static boolean isNotEmpty(java.lang.Object[] array)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayUtils

public ArrayUtils()
Method Detail

isEmpty

public static boolean isEmpty(java.lang.Object[] array)

isNotEmpty

public static boolean isNotEmpty(java.lang.Object[] array)

asCollection

public static java.util.Collection<java.lang.String> asCollection(java.lang.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> java.util.Set<T> asSet(T... element)


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.