like getchoiceoptional , but this takes an iterator instead of a variable number of arguments . concode_field_sep PlaceHolder placeHolder concode_field_sep void addGap concode_elem_sep void addGap concode_elem_sep void centerFrame concode_elem_sep ImageIcon getIconFromFile concode_elem_sep T getChoice concode_elem_sep List<T> getChoicesOptional concode_elem_sep ImageIcon getResizedIcon concode_elem_sep ImageIcon getEmptyIcon concode_elem_sep List<T> getChoices concode_elem_sep List<T> getChoices concode_elem_sep void setWidthToMax concode_elem_sep void addExpandingHorizontalSpace concode_elem_sep void addExpandingVerticalSpace concode_elem_sep void setFontSize
T function ( String arg0 , Iterator < T > arg1 ) { if ( arg1 == null | ! arg1 . hasNext ( ) ) { return null ; } T [ ] loc0 = UtilFunctions . iteratorToArray ( arg1 ) ; List < T > loc1 = getChoices ( arg0 , 0 , 1 , loc0 ) ; return loc1 . isEmpty ( ) ? null : loc1 . get ( 0 ) ; }