title: Get objects' index in a Java List
body: <p>I have a list of strings in my (Android) Java program, and I need to get the index of an object in the list. The problem is, I can only find documentation on how to find the first and last index of an object. What if I have 3 or more of the same object in my list? How can I find <em>every</em> index?</p>
  
  <p>Thanks!</p>