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