public class ObjectToArrayConverter extends Object
| Constructor and Description |
|---|
ObjectToArrayConverter() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
toArray(Collection object,
Class<?> clazz) |
static byte[] |
toByteArray(Collection collection) |
static double[] |
toDoubleArray(Collection collection) |
static int[] |
toIntArray(Collection collection) |
static long[] |
toLongArray(Collection collection) |
static Object |
toPrimativArray(Collection object,
Class<?> componentType) |
static short[] |
toShortArray(Collection collection) |
public static Object toPrimativArray(Collection object, Class<?> componentType)
public static Object toArray(Collection object, Class<?> clazz)
public static double[] toDoubleArray(Collection collection)
public static long[] toLongArray(Collection collection)
public static int[] toIntArray(Collection collection)
public static short[] toShortArray(Collection collection)
public static byte[] toByteArray(Collection collection)
Copyright © 2007–2018 Andreas W. Bartels. All rights reserved.