question: create an array from the rest of an iterator 's output ; this function is horribly inefficient . please , only use it on small iterators . concode_field_sep PlaceHolder placeHolder concode_field_sep void smartRemoveDuplicatesAndNulls concode_elem_sep void smartRemoveDuplicatesAndNullsHelper concode_elem_sep String safeToString concode_elem_sep T checkNullOrNotInstance concode_elem_sep void checkNotNull concode_elem_sep T[] slice concode_elem_sep int getSliceLength
target: T [ ] function ( Iterator < T > arg0 ) { ArrayList < T > loc0 = new ArrayList < T > ( ) ; T loc1 ; while ( arg0 . hasNext ( ) ) { loc1 = arg0 . next ( ) ; loc0 . add ( loc1 ) ; } @ SuppressWarnings ( "srini_string" ) T [ ] loc2 = ( T [ ] ) loc0 . toArray ( ) ; return loc2 ; }