public final class ArrayUtils extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
contains(Object[] target,
Object element) |
static boolean |
containsAll(Object[] target,
Collection<?> elements) |
static boolean |
containsAll(Object[] target,
Object[] elements) |
static char[] |
copyOf(char[] original,
int newLength) |
static <T> T[] |
copyOf(T[] original,
int newLength) |
static <T,X> X[] |
copyOf(T[] original,
int newLength,
Class<? extends X[]> newType) |
static char[] |
copyOfRange(char[] original,
int from,
int to) |
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) |
public static int length(Object[] target)
public static boolean isEmpty(Object[] target)
public static boolean containsAll(Object[] target, Collection<?> elements)
public static <T,X> X[] copyOf(T[] original, int newLength, Class<? extends X[]> newType)
public static <T> T[] copyOf(T[] original, int newLength)
public static char[] copyOf(char[] original, int newLength)
public static char[] copyOfRange(char[] original, int from, int to)
Copyright © 2016 The THYMELEAF team. All rights reserved.