摘要: 1 isNotEmpty(str)等价于 str != null && str.length > 0 2 isNotBlank(str) 等价于 str != null && str.length > 0 && str.trim().length > 0 3 同理 4 isEmpty 等价于 str == null || str.length == 0 5 isBlank 等价于 str ... 阅读全文
posted @ 2018-07-19 14:48 暮雨晨光 阅读(186) 评论(0) 推荐(0) 编辑