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