MCPcopy Create free account
hub / github.com/ReadyTalk/avian / lastIndexOf

Method lastIndexOf

classpath/java/util/ArrayList.java:112–119  ·  view source on GitHub ↗
(Object element)

Source from the content-addressed store, hash-verified

110 }
111
112 public int lastIndexOf(Object element) {
113 for (int i = size - 1; i >= 0; --i) {
114 if (equal(element, array[i])) {
115 return i;
116 }
117 }
118 return -1;
119 }
120
121 public T get(int index) {
122 if (index >= 0 && index < size) {

Callers

nothing calls this directly

Calls 1

equalMethod · 0.95

Tested by

no test coverage detected