FileDocCategorySizeDatePackage
CONSTANT_Double_info.javaAPI DocAndroid 1.5 API2478Wed May 06 22:41:16 BST 2009com.vladium.jcd.cls.constant

CONSTANT_Double_info

public final class CONSTANT_Double_info extends CONSTANT_literal_info
The {@link CONSTANT_Long_info} and CONSTANT_Double_info represent eight-byte numeric (long and double) constants.

The high_bytes and low_bytes items of the CONSTANT_Double_info structure contain the double value in IEEE 754 floating-point "double format" bit layout.

author
(C) 2001, Vlad Roubtsov

Fields Summary
public static final byte
TAG
public double
m_value
Constructors Summary
public CONSTANT_Double_info(double value)

    
    
        
    
        m_value = value;    
    
protected CONSTANT_Double_info(com.vladium.jcd.lib.UDataInputStream bytes)

        m_value = bytes.readDouble ();    
    
Methods Summary
public java.lang.Objectaccept(ICONSTANTVisitor visitor, java.lang.Object ctx)

        return visitor.visit (this, ctx);
    
public final bytetag()

        return TAG;
    
public java.lang.StringtoString()

        return Double.toString (m_value);
    
public intwidth()
Overrides the default implementation to return '2'.

        return 2;
    
public voidwriteInClassFormat(com.vladium.jcd.lib.UDataOutputStream out)

        super.writeInClassFormat (out);
        
        out.writeDouble (m_value);