Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/clojure/clojure
/ indexOf
Method
indexOf
src/jvm/clojure/lang/APersistentVector.java:193–198 ·
view source on GitHub ↗
(Object o)
Source
from the content-addressed store, hash-verified
191
}
192
193
public
int
indexOf(Object o){
194
for
(
int
i = 0; i < count(); i++)
195
if
(Util.equiv(nth(i), o))
196
return
i;
197
return
-1;
198
}
199
200
public
int
lastIndexOf(Object o){
201
for
(
int
i = count() - 1; i >= 0; i--)
Callers
1
sigTag
Method · 0.95
Calls
3
equiv
Method · 0.95
nth
Method · 0.95
count
Method · 0.65
Tested by
no test coverage detected