int function ( List arg0 , Object arg1 ) { int loc0 = 0 ; for ( Object loc1 : arg0 ) { if ( loc1 == arg1 ) { return loc0 ; } ++ loc0 ; } return - 1 ; }
returns the index in list of the first occurrence identical to value , or -1 if list does not contain value . more formally , returns the lowest index i such that list.get i == value , or -1 if there is no such index . concode_field_sep PlaceHolder placeHolder concode_field_sep List<T> newArrayAsList concode_elem_sep T cast concode_elem_sep T cast concode_elem_sep T cast concode_elem_sep T last concode_elem_sep T[] prepend concode_elem_sep T[] newArray concode_elem_sep T[] newArray concode_elem_sep String toString concode_elem_sep T[] concat concode_elem_sep T first concode_elem_sep String stackTraceAsString