Java tutorial
//package com.java2s; public class Main { /** * Creates a two-element array of default min and max values, typically used to initialize extreme values searches. * * @return a two-element array of extreme values. Entry 0 is the maximum double value; entry 1 is the negative of * the maximum double value; */ public static double[] defaultMinMix() { return new double[] { Double.MAX_VALUE, -Double.MAX_VALUE }; } }