Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/e2wugui/zeze
/ size
Method
size
ZezeJava/ZezeJava/src/main/java/Zeze/Collections/Queue.java:300–303 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
298
}
299
300
public
long size() {
301
var root = getRoot();
302
return
null == root ? 0L : root.getCount();
303
}
304
305
/**
306
* 用作queue, 值追加到尾节点的最后, 满则追加一个尾节点。
Callers
nothing calls this directly
Calls
2
getRoot
Method · 0.95
getCount
Method · 0.65
Tested by
no test coverage detected