MCPcopy Index your code
hub / github.com/clojure/clojure / count

Method count

src/jvm/clojure/lang/ASeq.java:122–128  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120//}
121
122public int count(){
123 int i = 1;
124 for(ISeq s = next(); s != null; s = s.next(), i++)
125 if(s instanceof Counted)
126 return i + s.count();
127 return i;
128}
129
130final public ISeq seq(){
131 return this;

Callers 1

sizeMethod · 0.95

Calls 2

nextMethod · 0.95
countMethod · 0.65

Tested by

no test coverage detected