Package org.nuxeo.common.collections
Class PrimitiveArrays
java.lang.Object
org.nuxeo.common.collections.PrimitiveArrays
- Author:
- Bogdan Stefanescu
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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<?>
static long[]
toLongArray
(Collection<?> col) static Object[]
toObjectArray
(Object array) static Object
toPrimitiveArray
(Collection<Object> col, Class<?> primitiveArrayType) static short[]
toShortArray
(Collection<?> col)
-
Method Details
-
toPrimitiveArray
-
toIntArray
-
toLongArray
-
toDoubleArray
-
toFloatArray
-
toBooleanArray
-
toShortArray
-
toByteArray
-
toCharArray
-
toObjectArray
-
toList
-