Package microsim.reflection
Class ArrayExtractor
java.lang.Object
microsim.reflection.ArrayExtractor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic double[]extractDoubleArray(Collection<?> collection, Class<?> clazz, String fieldName, boolean isMethod) static float[]extractFloatArray(Collection<?> collection, Class<?> clazz, String fieldName, boolean isMethod) static int[]extractIntegerArray(Collection<?> collection, Class<?> clazz, String fieldName, boolean isMethod) static long[]extractLongArray(Collection<?> collection, Class<?> clazz, String fieldName, boolean isMethod) static String[]extractStringArray(Collection<?> collection, Class<?> clazz, String fieldName, boolean isMethod)
-
Constructor Details
-
ArrayExtractor
public ArrayExtractor()
-
-
Method Details
-
extractDoubleArray
public static double[] extractDoubleArray(Collection<?> collection, Class<?> clazz, String fieldName, boolean isMethod) -
extractFloatArray
public static float[] extractFloatArray(Collection<?> collection, Class<?> clazz, String fieldName, boolean isMethod) -
extractIntegerArray
public static int[] extractIntegerArray(Collection<?> collection, Class<?> clazz, String fieldName, boolean isMethod) -
extractLongArray
public static long[] extractLongArray(Collection<?> collection, Class<?> clazz, String fieldName, boolean isMethod) -
extractStringArray
public static String[] extractStringArray(Collection<?> collection, Class<?> clazz, String fieldName, boolean isMethod)
-