public static < T > Set < T > createSet ( T ... args ) { HashSet < T > newSet = new HashSet < T > ( ) ; Collections . addAll ( newSet , args ) ; return newSet ; }
Convenience method for building a set from vararg arguments