code: public <T> Set<T> asSet(Class<T> itemType) {
        return asCollection(Set.class, itemType);
     }
docs: Converts the object to a Set
  
  @param <T>      the type parameter
  @param itemType The class of the item in the Set
  @return The object as a Set