FileDocCategorySizeDatePackage
MathUtils.javaAPI DocExample341Sat Apr 24 08:26:22 BST 2004com.oreilly.tiger.ch05

MathUtils

public class MathUtils extends Object

Fields Summary
Constructors Summary
Methods Summary
public static intmax(int values)

    if (values.length == 0) {
      throw new IllegalArgumentException("No values supplied.");
    }

    int max = Integer.MIN_VALUE;
    for (int i : values) {
      if (i > max)
        max = i;
    }
    return max;