判断字符串是否为空:
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
阅读 1741·2021-11-16 11:44
阅读 2469·2021-10-11 11:07
阅读 4231·2021-10-09 09:41
阅读 720·2021-09-22 15:52
阅读 3247·2021-09-09 09:33
阅读 2799·2019-08-30 15:55
阅读 2320·2019-08-30 15:55
阅读 876·2019-08-30 15:55