摘要: Java中判断字符串是否全是数字: 使用正则表达式: 1 2 3 4 5 6 7 8 public boolean isNumeric(String str) { Pattern pattern = Pattern.compile("[0-9]*"); Matcher isNum = pattern 阅读全文
posted @ 2019-01-18 10:43 pengzp 阅读(40255) 评论(0) 推荐(1)