Here you can find the source of isAllBlank(BigDecimal[] values)
public static boolean isAllBlank(BigDecimal[] values)
//package com.java2s; //License from project: Apache License import java.math.BigDecimal; public class Main { public static boolean isAllBlank(BigDecimal[] values) { boolean and = true; for (BigDecimal value : values) { and = and && isBlank(value); }/*w w w . j a v a 2 s . co m*/ return and; } public static boolean isBlank(BigDecimal value) { return (value == null || value.signum() == 0); } }