Here you can find the source of lessThan(BigDecimal val1, BigDecimal val2)
public static boolean lessThan(BigDecimal val1, BigDecimal val2)
//package com.java2s; //License from project: Apache License import java.math.BigDecimal; public class Main { public static boolean lessThan(BigDecimal val1, BigDecimal val2) { int compareValue = val1.compareTo(val2); return (compareValue < 0); }/*from w w w .j a va 2s . c om*/ }