Add CollectionUtils.indexOf

indexOf() is based on the current any() implementation, but gives more
flexibility as the caller can know the position of the found element.

Bug: 174541037
Test: atest NetworkStaticLibTests
Change-Id: I1d679b8369aeee359516bb5ca4275c744a606c3a
2 files changed
tree: a37c8d4d9144a9371d27c36112d3a9c5172e94a5
  1. staticlibs/