code: public static <T> Set<T> newSet(T... values) {
      Set<T> set = new HashSet<>(values.length);
      Collections.addAll(set, values);
      return set;
    }
docs: Creates a mutable HashSet instance containing the given elements in unspecified order