org.msgpack.template
Class DoubleTemplate

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

public class DoubleTemplate
extends AbstractTemplate<Double>


Method Summary
static DoubleTemplate getInstance()
           
 Double read(Unpacker u, Double to, boolean required)
           
 void write(Packer pk, Double 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,
                  Double target,
                  boolean required)
           throws IOException
Throws:
IOException

read

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

getInstance

public static DoubleTemplate getInstance()


Copyright © 2011. All Rights Reserved.