Class ComparableConverter.Factory
- java.lang.Object
-
- com.oracle.coherence.io.json.internal.ComparableConverter.Factory
-
- All Implemented Interfaces:
Factory<Converter<Comparable>>
- Enclosing class:
- ComparableConverter
public static class ComparableConverter.Factory extends Object implements Factory<Converter<Comparable>>
A factory for creatingComparableConverters.
-
-
Field Summary
Fields Modifier and Type Field Description static ComparableConverter.FactoryINSTANCEThe singleton instance of the factory.
-
Constructor Summary
Constructors Modifier Constructor Description protectedFactory()Constructs a newFactory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Converter<Comparable>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 ComparableConverter.Factory INSTANCE
The singleton instance of the factory.
-
-
Method Detail
-
create
public Converter<Comparable> 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<Comparable>>- 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).
-
-