code: public static <T> HashSet<T> wrapHashSet(final T... source) {
          val list = new HashSet<T>();
          addToCollection(list, source);
          return list;
      }
docs: Wrap hash set.
  
  @param <T>    the type parameter
  @param source the source
  @return the set