code: @SuppressWarnings(
  	{ "unchecked" })
  	public static <T> Set<T> toSet(T...args)
  	{
  		if(args == null || args.length ==0)
  			return null;
  		
  		HashSet<T> set = new HashSet<>(args.length);
  		
  		fill(set,args);
  		return set;
  	}
docs: ------------------------------------------------