import org.apache.commons.lang.math.NumberUtils; public class MainClass { public static void main(String[] args) { //Get MAX value from an array System.out.println("MAX >>> " + NumberUtils.max(new double[] { 3.33, 8.88, 1.11 })); } }
Is Number >>> true