csli.util.math
Class ArrayMath

java.lang.Object
  extended by csli.util.math.ArrayMath

public class ArrayMath
extends Object

Do various basic math on arrays.


Constructor Summary
ArrayMath()
           
 
Method Summary
static boolean allEqual(Comparable[] t, Comparable val)
           
static
<E extends Comparable>
E
max(E[] t)
           
static
<E extends Comparable>
E
min(E[] t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayMath

public ArrayMath()
Method Detail

allEqual

public static boolean allEqual(Comparable[] t,
                               Comparable val)

max

public static <E extends Comparable> E max(E[] t)

min

public static <E extends Comparable> E min(E[] t)