MCPcopy 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
53public 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
62public boolean isEmpty(){
63 return size() == 0;

Callers 2

isEmptyMethod · 0.95
TransactionalHashMapMethod · 0.45

Calls 2

mapAtMethod · 0.95
countMethod · 0.65

Tested by

no test coverage detected