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

Method indexOf

src/jvm/clojure/lang/ArraySeq.java:295–302  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

293 }
294
295 public int indexOf(Object o) {
296 if (o instanceof Number) {
297 float f = ((Number) o).floatValue();
298 for (int j = i; j < array.length; j++)
299 if (f == array[j]) return j - i;
300 }
301 return -1;
302 }
303
304 public int lastIndexOf(Object o) {
305 if (o instanceof Number) {

Callers

nothing calls this directly

Calls 1

floatValueMethod · 0.45

Tested by

no test coverage detected