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

Class StringUtil

src/main/java/com/utils/StringUtil.java:3–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1package com.utils;
2
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);
14 }
15}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected