public final class CONSTANT_Double_info extends CONSTANT_literal_info
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.
Modifier | Constructor and Description |
---|---|
|
CONSTANT_Double_info(double value) |
protected |
CONSTANT_Double_info(UDataInputStream bytes) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
accept(ICONSTANTVisitor visitor,
java.lang.Object ctx) |
byte |
tag()
Returns the tag byte for this CONSTANT type [this data is
static class data].
|
java.lang.String |
toString() |
int |
width()
Overrides the default implementation to return '2'.
|
void |
writeInClassFormat(UDataOutputStream out) |
clone, new_CONSTANT_info, tagToString
public static final byte TAG
public double m_value
public CONSTANT_Double_info(double value)
protected CONSTANT_Double_info(UDataInputStream bytes) throws java.io.IOException
java.io.IOException
public final byte tag()
CONSTANT_info
tag
in class CONSTANT_info
public java.lang.Object accept(ICONSTANTVisitor visitor, java.lang.Object ctx)
accept
in class CONSTANT_info
public java.lang.String toString()
toString
in class CONSTANT_info
public int width()
width
in class CONSTANT_info
CONSTANT_Long_info
,
CONSTANT_Long_info
public void writeInClassFormat(UDataOutputStream out) throws java.io.IOException
writeInClassFormat
in interface IClassFormatOutput
writeInClassFormat
in class CONSTANT_info
java.io.IOException