searches an element by its data value . this method is called by the setselecteditem method and returns the first occurence of the element . concode_field_sep ArrayList data concode_elem_sep boolean allowOtherValue concode_elem_sep ArrayList listdatalistener concode_elem_sep Object value concode_elem_sep Object key concode_elem_sep Object selectedItemValue concode_elem_sep int selectedItemIndex concode_elem_sep ListDataListener[] tempListeners concode_field_sep void add concode_elem_sep Object getKey concode_elem_sep void setSelectedKey concode_elem_sep void removeListDataListener concode_elem_sep boolean isAllowOtherValue concode_elem_sep void setData concode_elem_sep void fireListDataEvent concode_elem_sep void removeDataElement concode_elem_sep void clear concode_elem_sep void addListDataListener concode_elem_sep Object getKeyAt concode_elem_sep int findElementIndex concode_elem_sep Object getValue concode_elem_sep int getSize concode_elem_sep void setSelectedItem concode_elem_sep Object getSelectedKey concode_elem_sep void setValue concode_elem_sep Object getElementAt concode_elem_sep Object getSelectedItem concode_elem_sep void setAllowOtherValue
int function ( final Object arg0 ) { if ( arg0 == null ) { throw new NullPointerException ( "srini_string" ) ; } for ( int loc0 = 0 ; loc0 < this . data . size ( ) ; loc0 ++ ) { final ComboBoxItemPair loc1 = ( ComboBoxItemPair ) this . data . get ( loc0 ) ; if ( arg0 . equals ( loc1 . getKey ( ) ) ) { return loc0 ; } } return - 1 ; }