Package org.thymeleaf.util
Class ArrayUtils
Object
org.thymeleaf.util.ArrayUtils
- Since:
- 1.0
- Author:
- Daniel Fernández
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstatic booleancontainsAll(Object[] target, Object[] elements) static booleancontainsAll(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 booleanstatic intstatic 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)
-