code: public static <T> Function<Object, Collection<T>> COLLECTION(final Class<? extends Collection> collectionType, final Class<T> componentType) {
        return new CollectionConverterImpl<>(collectionType, componentType);
     }
docs: Converts an object to a collection and converts the components as well.
  
  @param <T>            the component type parameter
  @param collectionType the collection type
  @param componentType  the component type
  @return the conversion function