eg1:String str = "hello";
if(!str.isEmpty()){
//当str不为空时,才去做某些事情
//doSomeing
}
eg2:if(gridSettingMap.isEmpty()){
queryGridSetting();
}
if(!str.isEmpty()){
//当str不为空时,才去做某些事情
//doSomeing
}
eg2:if(gridSettingMap.isEmpty()){
queryGridSetting();
}