flexjson.transformer
Class TypeTransformerMap
java.lang.Object
java.util.AbstractMap<K,V>
java.util.concurrent.ConcurrentHashMap<Class,Transformer>
flexjson.transformer.TypeTransformerMap
- All Implemented Interfaces:
- Serializable, ConcurrentMap<Class,Transformer>, Map<Class,Transformer>
public class TypeTransformerMap
- extends ConcurrentHashMap<Class,Transformer>
This class is used to lookup type transformers from specific to generic implementation.
For example if an ArrayList transformer is provided
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Field Summary |
protected boolean |
locked
|
Methods inherited from class java.util.concurrent.ConcurrentHashMap |
clear, contains, containsKey, containsValue, elements, entrySet, get, isEmpty, keys, keySet, put, putAll, putIfAbsent, remove, remove, replace, replace, size, values |
locked
protected boolean locked
TypeTransformerMap
public TypeTransformerMap()
TypeTransformerMap
public TypeTransformerMap(TypeTransformerMap parentTransformerMap)
getTransformer
public Transformer getTransformer(Object key)
putTransformer
public Transformer putTransformer(Class aClass,
Transformer transformer)
Copyright © 2014. All Rights Reserved.