org.msgpack.template
Class IntegerTemplate

java.lang.Object
  extended by org.msgpack.template.AbstractTemplate<Integer>
      extended by org.msgpack.template.IntegerTemplate
All Implemented Interfaces:
Template<Integer>

public class IntegerTemplate
extends AbstractTemplate<Integer>


Method Summary
static IntegerTemplate getInstance()
           
 Integer read(Unpacker u, Integer to, boolean required)
           
 void write(Packer pk, Integer target, boolean required)
           
 
Methods inherited from class org.msgpack.template.AbstractTemplate
read, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

write

public void write(Packer pk,
                  Integer target,
                  boolean required)
           throws IOException
Throws:
IOException

read

public Integer read(Unpacker u,
                    Integer to,
                    boolean required)
             throws IOException
Throws:
IOException

getInstance

public static IntegerTemplate getInstance()


Copyright © 2011. All Rights Reserved.