Here you can find the source of isNegative(BigDecimal inValue)
public static boolean isNegative(BigDecimal inValue)
//package com.java2s; //License from project: Open Source License import java.math.BigDecimal; public class Main { public static boolean isNegative(BigDecimal inValue) { return inValue != null && BigDecimal.ZERO.compareTo(inValue) > 0; }//from w w w . ja v a 2s . co m }