public class CollectionUtil extends Object
Constructor and Description |
---|
CollectionUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean[] |
asBooleanArray(Collection<Boolean> collection) |
static byte[] |
asByteArray(Collection<Byte> collection) |
static char[] |
asCharArray(Collection<Character> collection) |
static double[] |
asDoubleArray(Collection<Double> collection) |
static float[] |
asFloatArray(Collection<Float> collection) |
static int[] |
asIntArray(Collection<Integer> collection) |
static long[] |
asLongArray(Collection<Long> collection) |
static short[] |
asShortArray(Collection<Short> collection) |
public static byte[] asByteArray(Collection<Byte> collection)
public static short[] asShortArray(Collection<Short> collection)
public static int[] asIntArray(Collection<Integer> collection)
public static long[] asLongArray(Collection<Long> collection)
public static float[] asFloatArray(Collection<Float> collection)
public static double[] asDoubleArray(Collection<Double> collection)
public static char[] asCharArray(Collection<Character> collection)
public static boolean[] asBooleanArray(Collection<Boolean> collection)