MCPcopy Create free account
hub / github.com/banq/jdonframework / isEmpty

Method isEmpty

src/main/java/com/jdon/util/UtilValidate.java:188–190  ·  view source on GitHub ↗

Check whether string s is empty.

(String s)

Source from the content-addressed store, hash-verified

186
187 /** Check whether string s is empty. */
188 public static boolean isEmpty(String s) {
189 return ((s == null) || (s.length() == 0));
190 }
191
192
193 /** Check whether collection c is empty. */

Callers 15

getConsumerNameMethod · 0.95
contextInitializedMethod · 0.95
loadMethod · 0.95
isWhitespaceMethod · 0.95
isIntegerMethod · 0.95
isSignedIntegerMethod · 0.95
isSignedLongMethod · 0.95

Calls 1

sizeMethod · 0.65

Tested by

no test coverage detected