Java Arraylist Find Index By Value In Array Javascript W3schools