2014年5月6日

判断是否为数字

摘要: protected boolean isNumeric(String str) { Pattern pattern = Pattern.compile("[0-9]*"); return pattern.matcher(str).matches(); } 阅读全文

posted @ 2014-05-06 14:43 clarenceV1 阅读(119) 评论(0) 推荐(0) 编辑

导航