com.anwrt.commons.hessian.model
Class HessianDouble

java.lang.Object
  extended by com.anwrt.commons.hessian.model.HessianValue
      extended by com.anwrt.commons.hessian.model.HessianSimple
          extended by com.anwrt.commons.hessian.model.HessianDouble

public class HessianDouble
extends HessianSimple

Models a 64-bit IEEE floating pointer number.
creation : 26 sept. 2008

Author:
David FRANCOIS

Field Summary
static HessianDouble ONE
           
static HessianDouble ZERO
           
 
Constructor Summary
HessianDouble(double value)
           
 
Method Summary
 java.lang.String getTypeString()
           
 double getValue()
           
 void render(java.io.OutputStream aStream, AwtHessianSerializer ser)
          Renders the HessianValue to the given OutputStream.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ZERO

public static final HessianDouble ZERO

ONE

public static final HessianDouble ONE
Constructor Detail

HessianDouble

public HessianDouble(double value)
Method Detail

getValue

public double getValue()

getTypeString

public java.lang.String getTypeString()
Overrides:
getTypeString in class HessianValue

render

public void render(java.io.OutputStream aStream,
                   AwtHessianSerializer ser)
            throws AwtHessianSerializerException
Description copied from class: HessianValue
Renders the HessianValue to the given OutputStream.

Specified by:
render in class HessianValue
Parameters:
aStream - to which to render
ser - an AwtHessianSerializer instance
Throws:
AwtHessianSerializerException