org.thymeleaf.util
Class ArrayUtils

Object
  extended by org.thymeleaf.util.ArrayUtils

public final class ArrayUtils
extends Object

Since:
1.0
Author:
Daniel Fernández

Method Summary
static boolean contains(Object[] target, Object element)
           
static boolean containsAll(Object[] target, Collection<?> elements)
           
static boolean containsAll(Object[] target, Object[] elements)
           
static boolean isEmpty(Object[] target)
           
static int length(Object[] target)
           
static Object[] toArray(Object target)
           
static Object[] toBooleanArray(Object target)
           
static Object[] toDoubleArray(Object target)
           
static Object[] toFloatArray(Object target)
           
static Object[] toIntegerArray(Object target)
           
static Object[] toLongArray(Object target)
           
static Object[] toStringArray(Object target)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toArray

public static Object[] toArray(Object target)

toStringArray

public static Object[] toStringArray(Object target)

toIntegerArray

public static Object[] toIntegerArray(Object target)

toLongArray

public static Object[] toLongArray(Object target)

toDoubleArray

public static Object[] toDoubleArray(Object target)

toFloatArray

public static Object[] toFloatArray(Object target)

toBooleanArray

public static Object[] toBooleanArray(Object target)

length

public static int length(Object[] target)

isEmpty

public static boolean isEmpty(Object[] target)

contains

public static boolean contains(Object[] target,
                               Object element)

containsAll

public static boolean containsAll(Object[] target,
                                  Object[] elements)

containsAll

public static boolean containsAll(Object[] target,
                                  Collection<?> elements)


Copyright © 2012 The THYMELEAF team. All Rights Reserved.