Java BigDecimal Value Check isNull(BigDecimal bdg)

Here you can find the source of isNull(BigDecimal bdg)

Description

is Null

License

Open Source License

Declaration

public static boolean isNull(BigDecimal bdg) 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.math.BigDecimal;
import java.util.List;

public class Main {

    public static boolean isNull(String str) {
        return str == null || "".equals(str);
    }//from w  w w .  j av  a2s  .  c om

    public static boolean isNull(List<Object> list) {
        return list == null || list.isEmpty();
    }

    public static boolean isNull(Integer itg) {
        return itg == null;
    }

    public static boolean isNull(BigDecimal bdg) {
        return bdg == null;
    }
}

Related

  1. isNegative(BigDecimal inValue)
  2. isNotNullOrZero(final BigDecimal number)
  3. isNotSameAbsValue(final BigDecimal v1, final BigDecimal v2)
  4. isNotZero(final BigDecimal value)
  5. isNotZeroPositive(BigDecimal value)
  6. isNull(final BigDecimal s)
  7. isNullOrZero(BigDecimal number)
  8. isNullOrZero(BigDecimal value)
  9. isParseableBigDecimal(String string)