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

Method lastIndexOf

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

Source from the content-addressed store, hash-verified

716 }
717
718 public int lastIndexOf(Object o) {
719 if (o instanceof Short) {
720 short s = ((Short) o).shortValue();
721 for (int j = array.length - 1; j >= i; j--)
722 if (s == array[j]) return j - i;
723 }
724 if (o == null) {
725 return -1;
726 }
727 for (int j = array.length - 1; j >= i; j--)
728 if (o.equals(array[j])) return j - i;
729 return -1;
730 }
731}
732
733static public class ArraySeq_boolean extends ASeq implements IndexedSeq, IReduce{

Callers

nothing calls this directly

Calls 2

shortValueMethod · 0.80
equalsMethod · 0.45

Tested by

no test coverage detected