Package com.jidesoft.range

Examples of com.jidesoft.range.BigDecimalRange


     * @param numbers the numbers to calculate the max.
     * @return the max number in the numbers list.
     */
    public static Range<BigDecimal> range(List<BigDecimal> numbers) {
        TreeSet<BigDecimal> decimals = new TreeSet<BigDecimal>(numbers);
        return new BigDecimalRange(decimals.first(), decimals.last());
    }
View Full Code Here

TOP

Related Classes of com.jidesoft.range.BigDecimalRange

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.