MCPcopy
hub / github.com/jOOQ/jOOQ / isEmpty

Method isEmpty

jOOQ/src/main/java/org/jooq/tools/StringUtils.java:242–244  ·  view source on GitHub ↗

Checks if a String is empty ("") or null. StringUtils.isEmpty(null) = true StringUtils.isEmpty("") = true StringUtils.isEmpty(" ") = false StringUtils.isEmpty("bob") = false StringUtils.isEmpty(" bob ") = false NOTE: This method changed in Lang vers

(String str)

Source from the content-addressed store, hash-verified

240 * @return <code>true</code> if the String is empty or null
241 */
242 public static boolean isEmpty(String str) {
243 return str == null || str.length() == 0;
244 }
245
246 /**
247 * <p>

Callers 15

schemaNameOrDefaultMethod · 0.95
run0Method · 0.95
combineMethod · 0.95
fromVersionMethod · 0.95
FlywayVersionMethod · 0.95
mapMethod · 0.95
map0Method · 0.95
defaultIfEmptyMethod · 0.95
countMatchesMethod · 0.95
rightPadMethod · 0.95
leftPadMethod · 0.95
replaceMethod · 0.95

Calls 1

lengthMethod · 0.65

Tested by

no test coverage detected