code: public static <T> Set<T> randomSetFrom(Iterable<T> elements, Range<Integer> attemptedSize) {
      return Sets.newHashSet(randomListFrom(elements, attemptedSize));
    }
docs: Returns a set filled randomly from the given elements. This will randomly put <code>
  attemptedSize</code> elements into the set, if any are equal then the returned set will contain
  less than <code>attemptedSize</code> elements.
  
  @param elements elements to randomly fill list from
  @param attemptedSize range that the attempted size of the set will be randomly chosen from
  @param <T> the type of elements in the given iterable
  @return set filled randomly from the given elements
  @throws IllegalArgumentException if the elements to fill set from is empty or if the size is
  negative