校验正整数 @param param 参数 @return
(String param)
| 133 | * @return |
| 134 | */ |
| 135 | public static boolean isPositiveInteger(String param){ |
| 136 | if (INTEGER_POSITIVE.matcher(param).matches()) { |
| 137 | return true; |
| 138 | } |
| 139 | return false; |
| 140 | } |
| 141 | /** |
| 142 | * 校验正整数+0 |
| 143 | * @param param 参数 |
no test coverage detected