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

Method isEmpty

lib/DevApp/src/main/java/dev/utils/JCLogUtils.java:72–74  ·  view source on GitHub ↗

判断字符串是否为 null @param str 待校验的字符串 @return true yes, false no

(final String str)

Source from the content-addressed store, hash-verified

70 * @return {@code true} yes, {@code false} no
71 */
72 private static boolean isEmpty(final String str) {
73 return (str == null || str.length() == 0);
74 }
75
76 // =
77

Callers 2

printLogMethod · 0.95
xmlTagMethod · 0.95

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected