com.activequant.utils
Class ArrayUtils
java.lang.Object
com.activequant.utils.ArrayUtils
public class ArrayUtils
- extends Object
- Author:
- Erik Nijkamp, Ulrich Staudinger
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrayUtils
public ArrayUtils()
asArray
public static <T> T[] asArray(Collection<T> list,
Class<T> clazz)
asList
public static <T> List<T> asList(T[] array)
asVector
public static <T> Vector<T> asVector(T[] array)
reverse
public static <T> void reverse(T[] b)
reverse
public static void reverse(double[] b)
toString
public static String toString(Double[] input)
toString
public static String toString(double[] input)
toString
public static String toString(String[] input)
toString
public static String toString(Double[][] input)
convert
public static double[] convert(Collection<Double> list)
convert
public static double[] convert(Double[] in)
convert
public static Double[] convert(double[] in)
convert
public static double[][] convert(Double[][] in)
Copyright © 2012 ActiveQuant GmbH. All Rights Reserved.