Java BigDecimal Value Check isBlank(BigDecimal value)

Here you can find the source of isBlank(BigDecimal value)

Description

is Blank

License

Apache License

Declaration

public static boolean isBlank(BigDecimal value) 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.math.BigDecimal;

public class Main {

    public static boolean isBlank(BigDecimal value) {
        return (value == null || value.signum() == 0);
    }/*w w w.ja  v  a2 s.co m*/
}

Related

  1. isAbsBetweenZeroAndOne(BigDecimal newValue)
  2. isAllBlank(BigDecimal[] values)
  3. isBetweenAAndB(final BigDecimal target, final BigDecimal a, final BigDecimal b)
  4. isDivisible(BigDecimal num1, BigDecimal num2)
  5. isDouble(BigDecimal number)
  6. isDoubleOverFlow(final BigDecimal decimal)
  7. isExact(final BigDecimal bd)