org.shapelogic.mathematics
Class ArrayOperations

java.lang.Object
  extended by org.shapelogic.mathematics.ArrayOperations

public class ArrayOperations
extends java.lang.Object

Mathematical operations on arrays in common use. Add when needed.

Author:
Sami Badawi

Constructor Summary
ArrayOperations()
           
 
Method Summary
static long product(int[] numberArray)
          Take product of integer array and return as long.
static long sum(int[] numberArray)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayOperations

public ArrayOperations()
Method Detail

product

public static long product(int[] numberArray)
Take product of integer array and return as long.

Parameters:
numberArray -
Returns:

sum

public static long sum(int[] numberArray)


Copyright © 2008. All Rights Reserved.