org.msgpack.template
Class MapTemplate<K,V>
java.lang.Object
org.msgpack.template.AbstractTemplate<Map<K,V>>
org.msgpack.template.MapTemplate<K,V>
- All Implemented Interfaces:
- Template<Map<K,V>>
public class MapTemplate<K,V>
- extends AbstractTemplate<Map<K,V>>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapTemplate
public MapTemplate(Template<K> keyTemplate,
Template<V> valueTemplate)
write
public void write(Packer pk,
Map<K,V> target,
boolean required)
throws IOException
- Throws:
IOException
read
public Map<K,V> read(Unpacker u,
Map<K,V> to,
boolean required)
throws IOException
- Throws:
IOException
Copyright © 2011. All Rights Reserved.