question: returns candidate index of preference passed to this function concode_field_sep int numCandidates concode_elem_sep List<Integer> vote concode_field_sep Iterator<Integer> iterator concode_elem_sep Vote copyVote concode_elem_sep String toString concode_elem_sep Vote invertVote concode_elem_sep boolean addPref
target: CandidateIndex function ( int arg0 ) { if ( ( ( arg0 > 0 ) && ( arg0 <= this . numCandidates ) ) && ( this . vote . contains ( ( Integer ) arg0 ) ) ) { return new CandidateIndex ( ( ( this . vote . indexOf ( ( Integer ) arg0 ) ) + 1 ) ) ; } else { return null ; } }