判断是否全是数字 @param s @return
(String s)
| 563 | * @return |
| 564 | */ |
| 565 | public static boolean isNumber(String s) { |
| 566 | if (isEmpty(s, true)) { |
| 567 | return false; |
| 568 | } |
| 569 | |
| 570 | current = s; |
| 571 | return PATTERN_NUMBER.matcher(s).matches(); |
| 572 | } |
| 573 | /**判断是否全是字母 |
| 574 | * @param s |
| 575 | * @return |
no test coverage detected