src/org/kocakosm/pitaya/math/Numbers.java
public static long max(long... values)
	{
		Parameters.checkCondition(values.length > 0);
		long max = values[0];
		for (int i = 1; i < values.length; i++) {
			max = Math.max(max, values[i]);
		}
		return max;
	}
public static long max(long... values)
	{
		Parameters.checkCondition(values.length > 0);
		long max = values[0];
		for (int i = 1; i < values.length; i++) {
			max = Math.max(max, values[i]);
		}
		return max;
	}
public static long max ( long ... values ) { Parameters . checkCondition ( values . length > 0 ) ; long max = values [ 0 ] ; for ( int i = 1 ; i < values . length ; i ++ ) { max = Math . max ( max , values [ i ] ) ; } return max ; }
Returns the maximum of the given values.

@param values a non-empty array of {@code long} values.

@return the maximum of the given values.

@throws NullPointerException if {@code values} is {@code null}.
@throws IllegalArgumentException if {@code values} is empty.
Returns the maximum of the given values .