org.nees.tools.agent
Class GCF

java.lang.Object
  extended byorg.nees.tools.agent.GCF

public class GCF
extends java.lang.Object


Constructor Summary
GCF()
          GCF constructor comment.
 
Method Summary
static int gcf(int[] args)
           
static int gcf(int a, int b)
           
static long gcf(long[] args)
           
static long gcf(long a, long b)
           
static int[] gcfQuotients(int[] args)
           
static long[] gcfQuotients(long[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GCF

public GCF()
GCF constructor comment.

Method Detail

gcf

public static int gcf(int a,
                      int b)
               throws java.lang.IllegalArgumentException
Parameters:
a - int
b - int
Returns:
int
Throws:
java.lang.IllegalArgumentException - The exception description.

gcf

public static long gcf(long a,
                       long b)
                throws java.lang.IllegalArgumentException
Parameters:
a - int
b - int
Returns:
int
Throws:
java.lang.IllegalArgumentException - The exception description.

gcf

public static int gcf(int[] args)
               throws java.lang.IllegalArgumentException
Parameters:
args - int[]
Returns:
int
Throws:
java.lang.IllegalArgumentException - The exception description.

gcf

public static long gcf(long[] args)
                throws java.lang.IllegalArgumentException
Parameters:
args - int[]
Returns:
int
Throws:
java.lang.IllegalArgumentException - The exception description.

gcfQuotients

public static int[] gcfQuotients(int[] args)
                          throws java.lang.IllegalArgumentException
Parameters:
args - int[]
Returns:
int[]
Throws:
java.lang.IllegalArgumentException - The exception description.

gcfQuotients

public static long[] gcfQuotients(long[] args)
                           throws java.lang.IllegalArgumentException
Parameters:
args - int[]
Returns:
int[]
Throws:
java.lang.IllegalArgumentException - The exception description.