Code
Hub
Trending
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/Tencent/APIJSON
/ get
Method
get
APIJSONORM/src/main/java/apijson/StringUtil.java:80–82 ·
view source on GitHub ↗
获取string,为null则返回"" @param obj @return
(Object obj)
Source
from the content-addressed store, hash-verified
78
* @
return
79
*/
80
public
static
String get(Object obj) {
81
return
obj == null ?
""
: obj.toString();
82
}
83
/**获取string,为null则返回
""
84
* @param s
85
* @
return
Callers
15
cur
Method · 0.95
getString
Method · 0.95
trim
Method · 0.95
noBlank
Method · 0.95
length
Method · 0.95
isEmpty
Method · 0.95
isIDCard
Method · 0.95
getNumber
Method · 0.95
split
Method · 0.95
firstCase
Method · 0.95
toUpperCase
Method · 0.95
toLowerCase
Method · 0.95
Calls
2
isEmpty
Method · 0.95
toString
Method · 0.80
Tested by
no test coverage detected