MCPcopy Create free account
hub / github.com/afkT/DevUtils / length

Method length

lib/DevApp/src/main/java/dev/utils/common/MapUtils.java:57–59  ·  view source on GitHub ↗

获取 Map 长度 @param map Map @return 如果 Map 为 null, 则返回默认长度, 如果不为 null, 则返回 map.size()

(final Map<?, ?> map)

Source from the content-addressed store, hash-verified

55 * @return 如果 Map 为 null, 则返回默认长度, 如果不为 null, 则返回 map.size()
56 */
57 public static int length(final Map<?, ?> map) {
58 return length(map, 0);
59 }
60
61 /**
62 * 获取 Map 长度

Callers 15

getCountMethod · 0.95
isEmptyMethod · 0.45
isEmptyMethod · 0.45
getActivityToLauncherMethod · 0.45
getIMEIMethod · 0.45
getScreenBrightnessMethod · 0.45
stringJSONEscapeMethod · 0.45
jsonToListMethod · 0.45
getSimCountryMethod · 0.45
sendSmsSilentMethod · 0.45

Calls 1

sizeMethod · 0.65

Tested by

no test coverage detected