code: public static <T> Set<T> toSet(Iterable<T> items) {
      Set<T> set = new HashSet<T>();
      addAll(set, items);
      return set;
    }
docs: Create a set out of the items in the Iterable.
  
  @param <T>
  The type of items in the Iterable.
  @param items
  The items to be made into a set.
  @return A set consisting of the items from the Iterable.