auto commit

This commit is contained in:
CyC2018 2018-05-11 16:25:23 +08:00
parent 287f365615
commit e3ad8f5c88

View File

@ -1017,6 +1017,8 @@ public boolean match(char[] str, char[] pattern) {
```java
public boolean isNumeric(char[] str) {
if (str == null)
return false;
return new String(str).matches("[+-]?\\d*(\\.\\d+)?([eE][+-]?\\d+)?");
}
```