Package org.apache.johnzon.mapper.util
Class ArrayUtil
- java.lang.Object
- 
- org.apache.johnzon.mapper.util.ArrayUtil
 
- 
 public final class ArrayUtil extends Object 
- 
- 
Constructor SummaryConstructors Modifier Constructor Description privateArrayUtil()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static List<Byte>asList(byte[] vals)static List<Character>asList(char[] vals)static List<Double>asList(double[] vals)static List<Float>asList(float[] vals)static List<Integer>asList(int[] vals)static List<Long>asList(long[] vals)static List<Short>asList(short[] vals)static intgetArrayLength(Object array)static TypegetArrayTypeFor(Class<?> clazz)
 
- 
- 
- 
Method Detail- 
getArrayLengthpublic static int getArrayLength(Object array) - Returns:
- the length of the array given.
- Throws:
- IllegalArgumentException- if the given object is not an array
 
 
- 
 
-