code: public static <T> Set<T> createSet(T... args) {
          HashSet<T> newSet = new HashSet<T>();
          Collections.addAll(newSet, args);
          return newSet;
      }
docs: Convenience method for building a set from vararg arguments
  @param args argument list
  @param <T> set type
  @return a new set created from var args