MCPcopy Index your code
hub / github.com/Tencent/APIJSON / length

Method length

APIJSONORM/src/main/java/apijson/StringUtil.java:319–321  ·  view source on GitHub ↗

获取string的长度,为null则返回0 @param object @param trim @return

(Object object, boolean trim)

Source from the content-addressed store, hash-verified

317 * @return
318 */
319 public static int length(Object object, boolean trim) {
320 return length(get(object), trim);
321 }
322 /**获取string的长度,为null则返回0
323 * @param cs
324 * @param trim

Callers 13

getLengthMethod · 0.95
isPasswordMethod · 0.95
isNumberPasswordMethod · 0.95
isVerifyMethod · 0.95
verifyConditionMethod · 0.95
isNameMethod · 0.45
isBigNameMethod · 0.45
isSmallNameMethod · 0.45
isIDCardMethod · 0.45
getNumberMethod · 0.45
getPriceMethod · 0.45
splitMethod · 0.45

Calls 2

getMethod · 0.95
trimMethod · 0.95

Tested by

no test coverage detected