private static class JavaUtilCollectionsDeserializers.JavaUtilCollectionsConverter extends java.lang.Object implements Converter<java.lang.Object,java.lang.Object>
Set, List, Map)
into more specific implementations accessible via java.util.Collections.Converter.None| Modifier and Type | Field and Description |
|---|---|
private JavaType |
_inputType |
private int |
_kind |
| Modifier | Constructor and Description |
|---|---|
private |
JavaUtilCollectionsConverter(int kind,
JavaType inputType) |
| Modifier and Type | Method and Description |
|---|---|
private void |
_checkSingleton(int size) |
java.lang.Object |
convert(java.lang.Object value)
Main conversion method.
|
JavaType |
getInputType(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).
|
JavaType |
getOutputType(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).
|
private final JavaType _inputType
private final int _kind
private JavaUtilCollectionsConverter(int kind,
JavaType inputType)
public java.lang.Object convert(java.lang.Object value)
Converterpublic JavaType getInputType(TypeFactory typeFactory)
ConvertergetInputType in interface Converter<java.lang.Object,java.lang.Object>public JavaType getOutputType(TypeFactory typeFactory)
ConvertergetOutputType in interface Converter<java.lang.Object,java.lang.Object>private void _checkSingleton(int size)