Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
122
public
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
130
final
public
ISeq seq(){
131
return
this;
Callers
1
size
Method · 0.95
Calls
2
next
Method · 0.95
count
Method · 0.65
Tested by
no test coverage detected