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

Method length

lib/DevApp/src/main/java/dev/utils/common/ArrayUtils.java:224–226  ·  view source on GitHub ↗

获取数组长度 @param objects object[] @return 如果数据为 null, 则返回默认长度, 如果不为 null, 则返回 array[].length

(final Object[] objects)

Source from the content-addressed store, hash-verified

222 * @return 如果数据为 null, 则返回默认长度, 如果不为 null, 则返回 array[].length
223 */
224 public static int length(final Object[] objects) {
225 return length(objects, 0);
226 }
227
228 /**
229 * 获取数组长度

Callers 7

isEmptyMethod · 0.95
isNotEmptyMethod · 0.95
isLengthMethod · 0.95
getCountMethod · 0.95
getLastMethod · 0.95
sumArrayMethod · 0.95
decodeHexMethod · 0.95

Calls 3

eTagMethod · 0.95
getClassMethod · 0.45
isArrayMethod · 0.45

Tested by

no test coverage detected