Class DefaultConverters.SingleValueAsListFactory

    • Method Detail

      • create

        public Converter<Collection<?>> create​(Type type,
                                               Genson genson)
        Description copied from interface: Factory
        Implementations of this method must try to create an instance of type T based on the parameter "type". If this factory can not create an object of type T for parameter type then it must return null.
        Specified by:
        create in interface Factory<Converter<Collection<?>>>
        Parameters:
        type - used to build an instance of T.
        Returns:
        null if it doesn't support this type or an instance of T (or a subclass).