org.msgpack.template
Class FloatTemplate

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

public class FloatTemplate
extends AbstractTemplate<Float>


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

read

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

getInstance

public static FloatTemplate getInstance()


Copyright © 2011. All Rights Reserved.