Package org.thymeleaf.util
Class ArrayUtils
Object
org.thymeleaf.util.ArrayUtils
- Since:
- 1.0
- Author:
- Daniel Fernández
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
static boolean
containsAll
(Object[] target, Object[] elements) static boolean
containsAll
(Object[] target, Collection<?> elements) static char[]
copyOf
(char[] original, int newLength) static <T> T[]
copyOf
(T[] original, int newLength) static <T,
X> X[] static char[]
copyOfRange
(char[] original, int from, int to) static boolean
static int
static Object[]
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)
-
Method Details
-
toArray
-
toStringArray
-
toIntegerArray
-
toLongArray
-
toDoubleArray
-
toFloatArray
-
toBooleanArray
-
length
-
isEmpty
-
contains
-
containsAll
-
containsAll
-
copyOf
-
copyOf
public static <T> T[] copyOf(T[] original, int newLength) -
copyOf
public static char[] copyOf(char[] original, int newLength) -
copyOfRange
public static char[] copyOfRange(char[] original, int from, int to)
-