Here you can find the source of isNull(final BigDecimal s)
final public static boolean isNull(final BigDecimal s)
//package com.java2s; // License as published by the Free Software Foundation; either import java.math.BigDecimal; public class Main { public static final BigDecimal NULL_BD = new BigDecimal(0); final public static boolean isNull(final BigDecimal s) { return ((s == null) || (s.compareTo(NULL_BD) == 0)); }/*from w w w . j a v a 2s. co m*/ }