Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`ArrayUtils()`

Method Summary
`static Collection<String>` | `asCollection(String commaDelim)` Return a collection from the comma delimited String.
`static
`<T> Set<T>`
` | `asSet(T... element)`
`static boolean` | `isEmpty(Object[] array)`
`static boolean` | `isNotEmpty(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(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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000–2018 Apache Software Foundation. All rights reserved.