java 判断一个字符串是否是整数/正整数. public boolean isInteger(String str,boolean isPositive) { Pattern pattern = Pattern.compile("^[-\\+]?
確定! 回上一頁