
java
昵称审核中
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
gson记录
附上官网文档:https://github.com/google/gson/blob/master/UserGuide.md gson中直接解析json数组 Gson gson = new Gson(); Collection<Integer> ints = Lists.immutableList(1,2,3,4,5); // Serialization String json...原创 2018-10-31 09:07:24 · 154 阅读 · 0 评论 -
密码正则
public static boolean isPwd(String pwd) { if (isNull(pwd) || pwd.contains(" ")) return false; return Pattern.matches("^[\u0021-\u007E]{4,16}$", pwd.trim()); } 不包含汉字,2...原创 2018-11-29 16:01:24 · 1511 阅读 · 0 评论