ValueInstantiators used for certain critical
JDK value types, either as performance optimization for initialization time observed
by profiling, or due to difficulty in otherwise finding constructors.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private abstract static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static ValueInstantiator |
| JDKValueInstantiators | back to summary |
|---|---|
| public JDKValueInstantiators() | |
| findStdValueInstantiator | back to summary |
|---|---|
| public static ValueInstantiator findStdValueInstantiator(DeserializationConfig config, Class<?> raw) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final JDKValueInstantiators. | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | createUsingDefault(DeserializationContext ctxt)
Implements abstract com. Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. |
| INSTANCE | back to summary |
|---|---|
| pack-priv static final JDKValueInstantiators. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ArrayListInstantiator | back to summary |
|---|---|
| public ArrayListInstantiator() | |
| createUsingDefault | back to summary |
|---|---|
| public Object createUsingDefault(DeserializationContext ctxt) throws IOException Implements abstract com. Doc from com. Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. It will only be used if more specific creator methods are not applicable; hence "default".
This method is called if
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | createUsingDefault(DeserializationContext ctxt)
Implements abstract com. Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ConcurrentHashMapInstantiator | back to summary |
|---|---|
| public ConcurrentHashMapInstantiator() | |
| createUsingDefault | back to summary |
|---|---|
| public Object createUsingDefault(DeserializationContext ctxt) throws IOException Implements abstract com. Doc from com. Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. It will only be used if more specific creator methods are not applicable; hence "default".
This method is called if
| |
| Modifier and Type | Field and Description |
|---|---|
| protected final Object | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final Object | createUsingDefault(DeserializationContext ctxt)
Implements abstract com. Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. |
| _value | back to summary |
|---|---|
| protected final Object _value | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ConstantValueInstantiator | back to summary |
|---|---|
| public ConstantValueInstantiator(Object value) | |
| createUsingDefault | back to summary |
|---|---|
| public final Object createUsingDefault(DeserializationContext ctxt) throws IOException Implements abstract com. Doc from com. Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. It will only be used if more specific creator methods are not applicable; hence "default".
This method is called if
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final JDKValueInstantiators. | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | createUsingDefault(DeserializationContext ctxt)
Implements abstract com. Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. |
| INSTANCE | back to summary |
|---|---|
| pack-priv static final JDKValueInstantiators. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| HashMapInstantiator | back to summary |
|---|---|
| public HashMapInstantiator() | |
| createUsingDefault | back to summary |
|---|---|
| public Object createUsingDefault(DeserializationContext ctxt) throws IOException Implements abstract com. Doc from com. Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. It will only be used if more specific creator methods are not applicable; hence "default".
This method is called if
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final JDKValueInstantiators. | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | createUsingDefault(DeserializationContext ctxt)
Implements abstract com. Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. |
| INSTANCE | back to summary |
|---|---|
| pack-priv static final JDKValueInstantiators. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| HashSetInstantiator | back to summary |
|---|---|
| public HashSetInstantiator() | |
| createUsingDefault | back to summary |
|---|---|
| public Object createUsingDefault(DeserializationContext ctxt) throws IOException Implements abstract com. Doc from com. Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. It will only be used if more specific creator methods are not applicable; hence "default".
This method is called if
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | canCreateUsingDefault()
Overrides com. Method that can be called to check whether a default creator (constructor, or no-arg static factory method) is available for this instantiator |
| public final boolean | canInstantiate()
Overrides com. Method that will return true if any of |
| public abstract Object | createUsingDefault(DeserializationContext ctxt)
Overrides com. Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| JDKValueInstantiator | back to summary |
|---|---|
| public JDKValueInstantiator(Class<?> type) | |
| canCreateUsingDefault | back to summary |
|---|---|
| public final boolean canCreateUsingDefault() Overrides com. Doc from com. Method that can be called to check whether a default creator (constructor, or no-arg static factory method) is available for this instantiator
| |
| canInstantiate | back to summary |
|---|---|
| public final boolean canInstantiate() Overrides com. Doc from com. Method that will return true if any of
| |
| createUsingDefault | back to summary |
|---|---|
| public abstract Object createUsingDefault(DeserializationContext ctxt) throws IOException Overrides com. Doc from com. Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. It will only be used if more specific creator methods are not applicable; hence "default".
This method is called if
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final JDKValueInstantiators. | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | createUsingDefault(DeserializationContext ctxt)
Implements abstract com. Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. |
| INSTANCE | back to summary |
|---|---|
| pack-priv static final JDKValueInstantiators. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| LinkedHashMapInstantiator | back to summary |
|---|---|
| public LinkedHashMapInstantiator() | |
| createUsingDefault | back to summary |
|---|---|
| public Object createUsingDefault(DeserializationContext ctxt) throws IOException Implements abstract com. Doc from com. Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. It will only be used if more specific creator methods are not applicable; hence "default".
This method is called if
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | createUsingDefault(DeserializationContext ctxt)
Implements abstract com. Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| LinkedListInstantiator | back to summary |
|---|---|
| public LinkedListInstantiator() | |
| createUsingDefault | back to summary |
|---|---|
| public Object createUsingDefault(DeserializationContext ctxt) throws IOException Implements abstract com. Doc from com. Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. It will only be used if more specific creator methods are not applicable; hence "default".
This method is called if
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | createUsingDefault(DeserializationContext ctxt)
Implements abstract com. Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| TreeMapInstantiator | back to summary |
|---|---|
| public TreeMapInstantiator() | |
| createUsingDefault | back to summary |
|---|---|
| public Object createUsingDefault(DeserializationContext ctxt) throws IOException Implements abstract com. Doc from com. Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. It will only be used if more specific creator methods are not applicable; hence "default".
This method is called if
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | createUsingDefault(DeserializationContext ctxt)
Implements abstract com. Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| TreeSetInstantiator | back to summary |
|---|---|
| public TreeSetInstantiator() | |
| createUsingDefault | back to summary |
|---|---|
| public Object createUsingDefault(DeserializationContext ctxt) throws IOException Implements abstract com. Doc from com. Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. It will only be used if more specific creator methods are not applicable; hence "default".
This method is called if
| |