MCPcopy Create free account
hub / github.com/LisenCoding/cangku / isEmpty

Method isEmpty

boot/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
barSumMethod · 0.95
barCountMethod · 0.95
tmFunction · 0.80
qmFunction · 0.80
ogFunction · 0.80
IgFunction · 0.80
UgFunction · 0.80
apFunction · 0.80
bpFunction · 0.80
qwFunction · 0.80
txFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected