returns a set from an array of objects . note the iterator returned by this set preserves the order of the array . concode_field_sep Logger logger concode_field_sep String[] setToStrings concode_elem_sep Object[] setToObjects
Set function ( Object [ ] arg0 ) { logger . debug ( "srini_string" , arg0 ) ; if ( arg0 == null ) { return null ; } Set loc0 = new ListOrderedSet ( ) ; for ( int loc1 = 0 ; loc1 < arg0 . length ; loc1 ++ ) { loc0 . add ( arg0 [ loc1 ] ) ; } return loc0 ; }