MCPcopy Create free account
hub / github.com/YuLin-Coder/No830yiyongwulixue / isEmpty

Method isEmpty

src/main/java/com/utils/StringUtil.java:5–10  ·  view source on GitHub ↗
(String s)

Source from the content-addressed store, hash-verified

3public class StringUtil {
4
5 public static boolean isEmpty(String s){
6 if(s==null || s.equals("") || s.equals("null")){
7 return true;
8 }
9 return false;
10 }
11
12 public static boolean isNotEmpty(String s){
13 return !StringUtil.isEmpty(s);

Callers 15

isNotEmptyMethod · 0.95
listMethod · 0.95
listMethod · 0.95
listMethod · 0.95
listMethod · 0.95
listMethod · 0.95
listMethod · 0.95
camelToUnderlineMapMethod · 0.80
validateEntityMethod · 0.80
uploadMethod · 0.80
saveMethod · 0.80
updateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected