Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Bit0r/java-util
/ isNumeric
Method
isNumeric
src/main/java/util/ExcelUtils.java:258–260 ·
view source on GitHub ↗
判断是否为数值 @param str @return
(String str)
Source
from the content-addressed store, hash-verified
256
* @
return
257
*/
258
public
static
boolean isNumeric(String str) {
259
return
str != null && NUMBER_PATTERN.matcher(str).matches();
260
}
261
262
/**
263
* 时间是否合格
Callers
2
decimal
Method · 0.95
integer
Method · 0.95
Calls
1
matches
Method · 0.80
Tested by
no test coverage detected