![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
lxb_android
扶朕起来,朕还能学。。。
展开
-
正则表达式验证手机号和邮箱
/** * 验证手机号码 */ public static boolean checkPhone(String str) { Pattern p = null; Matcher m = null; boolean b = false; p = Pattern.compile("^[1][3,4,5,7,8][0-9]{9}$"); // 验证手机号 ...原创 2018-07-13 15:26:44 · 740 阅读 · 0 评论 -
Android Xml解析—Pull
一、Bean类 public class BubbleEntry { private float size = 0f; private String description = "";//描述 private String id = "";//数据的ID private float x; private float y; publi...原创 2018-09-28 11:33:55 · 133 阅读 · 0 评论