public static Set < String > set ( String ... ss ) { Set < String > set = new HashSet < String > ( ) ; set . addAll ( Arrays . asList ( ss ) ) ; return set ; }
Convenience method to create a set with strings .