public final class PrimitiveArrays extends Object
Modifier and Type | Method and Description |
---|---|
static boolean[] |
toBooleanArray(Collection col) |
static byte[] |
toByteArray(Collection col) |
static char[] |
toCharArray(Collection col) |
static double[] |
toDoubleArray(Collection col) |
static float[] |
toFloatArray(Collection col) |
static int[] |
toIntArray(Collection col) |
static List<?> |
toList(Object array) |
static long[] |
toLongArray(Collection col) |
static Object[] |
toObjectArray(Object array) |
static Object |
toPrimitiveArray(Collection<Object> col,
Class primitiveArrayType) |
static short[] |
toShortArray(Collection col) |
public static Object toPrimitiveArray(Collection<Object> col, Class primitiveArrayType)
public static int[] toIntArray(Collection col)
public static long[] toLongArray(Collection col)
public static double[] toDoubleArray(Collection col)
public static float[] toFloatArray(Collection col)
public static boolean[] toBooleanArray(Collection col)
public static short[] toShortArray(Collection col)
public static byte[] toByteArray(Collection col)
public static char[] toCharArray(Collection col)
public static Object[] toObjectArray(Object array)
Copyright © 2019 Nuxeo. All rights reserved.