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

Method isEmpty

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

判断数组是否为 null @param objects object[] @return true yes, false no

(final Object[] objects)

Source from the content-addressed store, hash-verified

36 * @return {@code true} yes, {@code false} no
37 */
38 public static boolean isEmpty(final Object[] objects) {
39 return objects == null || objects.length == 0;
40 }
41
42 /**
43 * 判断数组是否为 null

Callers

nothing calls this directly

Calls 1

lengthMethod · 0.95

Tested by

no test coverage detected