java各个类型判断为空
<> String类型判断为空有三种:
Sting number;
1. StringUtils.isBlank(number);
2. numberisEmpty()
3. "".equal(number) || null == number
<> int类型判断为空:
int number;
number == null;
<> list判断为空:
list<?> list;
list.isisEmpty();
<> 对象为空判断用 null