Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/clojure/clojure
/ size
Method
size
src/jvm/clojure/lang/TransactionalHashMap.java:53–60 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
51
}
52
53
public
int
size(){
54
int
n = 0;
55
for
(
int
i = 0; i < bins.length; i++)
56
{
57
n += mapAt(i).count();
58
}
59
return
n;
60
}
61
62
public
boolean isEmpty(){
63
return
size() == 0;
Callers
2
isEmpty
Method · 0.95
TransactionalHashMap
Method · 0.45
Calls
2
mapAt
Method · 0.95
count
Method · 0.65
Tested by
no test coverage detected