Class ReadOnlyClassToSerializerMap
java.lang.Object
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.ser.impl.ReadOnlyClassToSerializerMap
Optimized lookup table for accessing two types of serializers; typed
and non-typed. Only accessed from a single thread, so no synchronization
needed for accessors.
Note that before 2.6 this class was much smaller, and referred most
operations to separate JsonSerializerMap
, but in 2.6
functions were combined.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ReadOnlyClassToSerializerMap
from
(LRUMap<TypeKey, JsonSerializer<Object>> src) Factory method for constructing an instance.int
size()
typedValueSerializer
(JavaType type) typedValueSerializer
(Class<?> type) untypedValueSerializer
(Class<?> type)
-
Constructor Details
-
ReadOnlyClassToSerializerMap
-
-
Method Details
-
from
Factory method for constructing an instance. -
size
public int size() -
typedValueSerializer
-
typedValueSerializer
-
untypedValueSerializer
-
untypedValueSerializer
-