Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/e2wugui/zeze
/ isEmpty
Method
isEmpty
ZezeJava/ZezeJava/src/main/java/Zeze/Collections/Queue.java:199–202 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
197
}
198
199
public
boolean isEmpty() {
200
var root = getRoot();
201
return
root == null || root.getHeadNodeKey().getNodeId() == 0;
202
}
203
204
/**
205
* 删除并返回整个头节点
Callers
nothing calls this directly
Calls
3
getRoot
Method · 0.95
getNodeId
Method · 0.65
getHeadNodeKey
Method · 0.65
Tested by
no test coverage detected