com.day.util
Class Math

java.lang.Object
  extended by com.day.util.Math

public final class Math
extends Object

This class provides some mathematical utilities that extends those of Math.

Since:
antbear
Version:
$Revision: 1.7 $, $Date: 2004-08-22 06:56:09 +0200 (Sun, 22 Aug 2004) $
Author:
fmeschbe

Method Summary
static double max3(double a, double b, double c)
          Returns the largest of the three argument values.
static int max3(int a, int b, int c)
          Returns the largest of the three argument values.
static double min3(double a, double b, double c)
          Returns the smallest of the three argument values.
static int min3(int a, int b, int c)
          Returns the smallest of the three argument values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

min3

public static final int min3(int a,
                             int b,
                             int c)
Returns the smallest of the three argument values.

Parameters:
a - The first value
b - The second value
c - The third value
Returns:
The smallest value of the three

max3

public static final int max3(int a,
                             int b,
                             int c)
Returns the largest of the three argument values.

Parameters:
a - The first value
b - The second value
c - The third value
Returns:
The largest value of the three

min3

public static final double min3(double a,
                                double b,
                                double c)
Returns the smallest of the three argument values.

Parameters:
a - The first value
b - The second value
c - The third value
Returns:
The smallest value of the three

max3

public static final double max3(double a,
                                double b,
                                double c)
Returns the largest of the three argument values.

Parameters:
a - The first value
b - The second value
c - The third value
Returns:
The largest value of the three


Copyright © 2011-2013 Adobe Systems Incorporated. All Rights Reserved.