Set < T > function ( Set < T > arg0 ) { checkNotNull ( "srini_string" , arg0 ) ; @ SuppressWarnings ( "srini_string" ) final List < T > loc0 = ( List < T > ) Arrays . asList ( arg0 . toArray ( ) ) ; return Collections . unmodifiableSet ( new HashSet < T > ( loc0 ) ) ; }
set is a jstype but collection #iterator is jsignore d and therefore not exported to javascript . this method takes a set and converts it to a new set so it can be iterated over in the current script e.g. using enhanced for loops , even if the instance was provided by an external gwt-compiled script . concode_field_sep PlaceHolder placeHolder concode_field_sep Integer toInteger