MCPcopy Create free account
hub / github.com/diyhi/bbs / isNumeric

Method isNumeric

src/main/java/cms/utils/Verification.java:86–91  ·  view source on GitHub ↗

校验数值类型 @param param 参数 @return

(String param)

Source from the content-addressed store, hash-verified

84 * @return
85 */
86 public static boolean isNumeric(String param){
87 if (INTEGER.matcher(param).matches()) {
88 return true;
89 }
90 return false;
91 }
92 /**
93 * 校验浮点类型
94 * @param param 参数

Callers 6

processNullMethodMethod · 0.80
processGetMethodMethod · 0.80
processPostMethodMethod · 0.80

Calls 1

matchesMethod · 0.65

Tested by

no test coverage detected