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

Method isNotEmpty

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

Check whether string s is NOT empty.

(String s)

Source from the content-addressed store, hash-verified

197
198 /** Check whether string s is NOT empty. */
199 public static boolean isNotEmpty(String s) {
200 return ((s != null) && (s.length() > 0));
201 }
202
203 /** Check whether collection c is NOT empty. */
204 public static boolean isNotEmpty(Collection c) {

Callers 2

setPropertiesParamsMethod · 0.95
removeMethod · 0.95

Calls 1

sizeMethod · 0.65

Tested by

no test coverage detected