Class JavaUtilCollectionsDeserializers.JavaUtilCollectionsConverter
- java.lang.Object
-
- com.fasterxml.jackson.databind.deser.impl.JavaUtilCollectionsDeserializers.JavaUtilCollectionsConverter
-
- All Implemented Interfaces:
Converter<java.lang.Object,java.lang.Object>
- Enclosing class:
- JavaUtilCollectionsDeserializers
private static class JavaUtilCollectionsDeserializers.JavaUtilCollectionsConverter extends java.lang.Object implements Converter<java.lang.Object,java.lang.Object>
Implementation used for converting from various generic container types (Set,List,Map) into more specific implementations accessible viajava.util.Collections.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.fasterxml.jackson.databind.util.Converter
Converter.None
-
-
Field Summary
Fields Modifier and Type Field Description private JavaType_inputTypeprivate int_kind
-
Constructor Summary
Constructors Constructor Description JavaUtilCollectionsConverter(int kind, JavaType inputType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void_checkSingleton(int size)java.lang.Objectconvert(java.lang.Object value)Main conversion method.JavaTypegetInputType(TypeFactory typeFactory)Method that can be used to find out actual input (source) type; this usually can be determined from type parameters, but may need to be implemented differently from programmatically defined converters (which cannot change static type parameter bindings).JavaTypegetOutputType(TypeFactory typeFactory)Method that can be used to find out actual output (target) type; this usually can be determined from type parameters, but may need to be implemented differently from programmatically defined converters (which cannot change static type parameter bindings).
-
-
-
Field Detail
-
_inputType
private final JavaType _inputType
-
_kind
private final int _kind
-
-
Constructor Detail
-
JavaUtilCollectionsConverter
JavaUtilCollectionsConverter(int kind, JavaType inputType)
-
-
Method Detail
-
convert
public java.lang.Object convert(java.lang.Object value)
Description copied from interface:ConverterMain conversion method.
-
getInputType
public JavaType getInputType(TypeFactory typeFactory)
Description copied from interface:ConverterMethod that can be used to find out actual input (source) type; this usually can be determined from type parameters, but may need to be implemented differently from programmatically defined converters (which cannot change static type parameter bindings).- Specified by:
getInputTypein interfaceConverter<java.lang.Object,java.lang.Object>
-
getOutputType
public JavaType getOutputType(TypeFactory typeFactory)
Description copied from interface:ConverterMethod that can be used to find out actual output (target) type; this usually can be determined from type parameters, but may need to be implemented differently from programmatically defined converters (which cannot change static type parameter bindings).- Specified by:
getOutputTypein interfaceConverter<java.lang.Object,java.lang.Object>
-
_checkSingleton
private void _checkSingleton(int size)
-
-