MCPcopy Create free account
hub / github.com/antlr/codebuff / standardIndexOf

Method standardIndexOf

output/java_guava/1.4.18/ForwardingList.java:168–170  ·  view source on GitHub ↗

A sensible default implementation of #indexOf, in terms of #listIterator(). If you override #listIterator(), you may wish to override #indexOf to forward to this implementation. @since 7.0

(@Nullable Object element)

Source from the content-addressed store, hash-verified

166
167
168 protected int standardIndexOf(@Nullable Object element) {
169 return Lists.indexOfImpl(this, element);
170 }
171
172 /**
173 * A sensible default implementation of {@link #lastIndexOf}, in terms of

Callers

nothing calls this directly

Calls 1

indexOfImplMethod · 0.95

Tested by

no test coverage detected