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

Method isEmpty

lib/DevApp/src/main/java/dev/utils/LogPrintUtils.java:58–60  ·  view source on GitHub ↗

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

(final String str)

Source from the content-addressed store, hash-verified

56 * @return {@code true} yes, {@code false} no
57 */
58 private static boolean isEmpty(final String str) {
59 return (str == null || str.length() == 0);
60 }
61
62 // =
63

Callers 2

jsonTagMethod · 0.95
xmlTagMethod · 0.95

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected