question: public static Set < String > convertArrayToSet ( String [ ] array ) { Set < String > resultSet = new HashSet < String > ( array . length ) ; Collections . addAll ( resultSet , array ) ; return resultSet ; }
target:  Transforms array of String objects to Set