Class DefaultConverters.SingleValueAsListFactory
- java.lang.Object
-
- com.oracle.coherence.io.json.genson.convert.DefaultConverters.SingleValueAsListFactory
-
- All Implemented Interfaces:
Factory<Converter<Collection<?>>>
- Enclosing class:
- DefaultConverters
public static final class DefaultConverters.SingleValueAsListFactory extends Object implements Factory<Converter<Collection<?>>>
-
-
Field Summary
Fields Modifier and Type Field Description static DefaultConverters.SingleValueAsListFactoryinstance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Converter<Collection<?>>create(Type type, Genson genson)Implementations of this method must try to create an instance of type T based on the parameter "type".
-
-
-
Field Detail
-
instance
public static final DefaultConverters.SingleValueAsListFactory instance
-
-
Method Detail
-
create
public Converter<Collection<?>> create(Type type, Genson genson)
Description copied from interface:FactoryImplementations 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:
createin interfaceFactory<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).
-
-