Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/razerdp/BasePopup
/ isEmpty
Method
isEmpty
app/src/main/java/razerdp/demo/utils/ToolUtil.java:29–31 ·
view source on GitHub ↗
(Collection<?> datas)
Source
from the content-addressed store, hash-verified
27
28
public
class
ToolUtil {
29
public
static
boolean isEmpty(Collection<?> datas) {
30
return
datas == null || datas.size() <= 0;
31
}
32
33
public
static
boolean isEmpty(Map map) {
34
return
map == null || map.isEmpty();
Callers
15
isListEmptyOrEmptyElements
Method · 0.95
indexIn
Method · 0.95
subList
Method · 0.95
checkFixedViewInfoNotAdded
Method · 0.95
onDataSizeChange
Method · 0.95
setSelection
Method · 0.95
setNormalColor
Method · 0.95
setSelectedColor
Method · 0.95
writeToIntent
Method · 0.95
updateData
Method · 0.95
addMore
Method · 0.95
getHeadersCount
Method · 0.95
Calls
1
size
Method · 0.45
Tested by
3
onBindData
Method · 0.76
init
Method · 0.64
addPic
Method · 0.64