public final class ArrayUtils
extends Object
ArrayUtils provides array related utility functionality
- Author:
- tiwe
-
Method Summary
static <T> T[]
static <T> T[]
static boolean
subarray(Object[] array,
int startIndexInclusive,
int endIndexExclusive)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
combine
public static <T> T[] combine(Class<T> type,
T first,
T second,
T... rest)
-
combine
public static <T> T[] combine(Class<T> type,
T first,
T... rest)
-
combine
public static Object[] combine(int size,
Object[]... arrays)
-
subarray
public static Object[] subarray(Object[] array,
int startIndexInclusive,
int endIndexExclusive)
-
isEmpty
public static boolean isEmpty(Object[] array)