判断是否全是字母 @param s @return
(String s)
| 575 | * @return |
| 576 | */ |
| 577 | public static boolean isAlpha(String s) { |
| 578 | if (isEmpty(s, true)) { |
| 579 | return false; |
| 580 | } |
| 581 | |
| 582 | current = s; |
| 583 | return PATTERN_ALPHA.matcher(s).matches(); |
| 584 | } |
| 585 | /**判断是否全是数字或字母 |
| 586 | * @param s |
| 587 | * @return |
no test coverage detected