去除String 中空值null

String[] aa = { "" , "" , "ddd" , "" , "asdf"  };          List<String> tmp =  new  ArrayList<String>();          for (String str:aa){              if (str!= null  && str.length()!= 0 ){              
相關文章
相關標籤/搜索