判断字符串是否为空:
public class StrUtils { public static boolean isEmpty(String str){ if(str==null||"".equals(str)){ return true; } return false; } }
文章版权归作者所有,未经允许请勿转载,若此文章存在违规行为,您可以联系管理员删除。
转载请注明本文地址:https://www.ucloud.cn/yun/65149.html
阅读 1755·2021-11-16 11:44
阅读 2477·2021-10-11 11:07
阅读 4253·2021-10-09 09:41
阅读 734·2021-09-22 15:52
阅读 3259·2021-09-09 09:33
阅读 2810·2019-08-30 15:55
阅读 2329·2019-08-30 15:55
阅读 882·2019-08-30 15:55