public class ConcurrentHashMapConverter
extends com.thoughtworks.xstream.converters.collections.MapConverter
ConcurrentHashMap should convert like a map, instead of via serialization.| Constructor and Description |
|---|
ConcurrentHashMapConverter(com.thoughtworks.xstream.mapper.Mapper mapper,
com.thoughtworks.xstream.converters.reflection.ReflectionProvider reflectionProvider) |
ConcurrentHashMapConverter(com.thoughtworks.xstream.XStream xs) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConvert(Class type) |
Object |
unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context) |
createCollection, marshal, populateMap, populateMap, putCurrentEntryIntoMappublic ConcurrentHashMapConverter(com.thoughtworks.xstream.XStream xs)
public ConcurrentHashMapConverter(com.thoughtworks.xstream.mapper.Mapper mapper,
com.thoughtworks.xstream.converters.reflection.ReflectionProvider reflectionProvider)
public boolean canConvert(Class type)
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatchercanConvert in class com.thoughtworks.xstream.converters.collections.MapConverterpublic Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
unmarshal in interface com.thoughtworks.xstream.converters.Converterunmarshal in class com.thoughtworks.xstream.converters.collections.MapConverterCopyright © 2019. All rights reserved.