Java字符串2

if(str!= null && str.isEmpty()){

  dao.get(str);

}

str.isEmpty判断字符串是否为空字符串

 

posted @ 2017-05-07 21:18  夏日的微笑  阅读(140)  评论(0编辑  收藏  举报