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

CONSTANT_Float_info

public final class CONSTANT_Float_info extends CONSTANT_literal_info
The CONSTANT_Integer_info and CONSTANT_Float_info structures represent four-byte numeric (int and float) constants.

The bytes item of the CONSTANT_Float_info structure contains the value of the float constant in IEEE 754 floating-point "single format" bit layout.

author
(C) 2001, Vlad Roubtsov

Fields Summary
public static final byte
TAG
public float
m_value
Constructors Summary
public CONSTANT_Float_info(float value)

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

        m_value = bytes.readFloat ();
    
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 Float.toString (m_value);
    
public voidwriteInClassFormat(com.vladium.jcd.lib.UDataOutputStream out)

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