com.activequant.utils
Class ArrayUtils

java.lang.Object
  extended by com.activequant.utils.ArrayUtils

public class ArrayUtils
extends Object

Author:
Erik Nijkamp, Ulrich Staudinger

Constructor Summary
ArrayUtils()
           
 
Method Summary
static
<T> T[]
asArray(Collection<T> list, Class<T> clazz)
           
static
<T> List<T>
asList(T[] array)
           
static
<T> Vector<T>
asVector(T[] array)
           
static double[] convert(Collection<Double> list)
           
static Double[] convert(double[] in)
           
static double[] convert(Double[] in)
           
static double[][] convert(Double[][] in)
           
static void reverse(double[] b)
           
static
<T> void
reverse(T[] b)
           
static String toString(double[] input)
           
static String toString(Double[] input)
           
static String toString(Double[][] input)
           
static String toString(String[] input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayUtils

public ArrayUtils()
Method Detail

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.