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.
| 限定符 | 构造器和说明 |
|---|---|
|
CONSTANT_Double_info(double value) |
protected |
CONSTANT_Double_info(UDataInputStream bytes) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
accept(ICONSTANTVisitor visitor,
Object ctx) |
byte |
tag()
Returns the tag byte for this CONSTANT type [this data is
static class data].
|
String |
toString() |
int |
width()
Overrides the default implementation to return '2'.
|
void |
writeInClassFormat(UDataOutputStream out) |
clone, new_CONSTANT_info, tagToStringpublic static final byte TAG
public double m_value
public CONSTANT_Double_info(double value)
protected CONSTANT_Double_info(UDataInputStream bytes) throws IOException
IOExceptionpublic final byte tag()
CONSTANT_infotag 在类中 CONSTANT_infopublic Object accept(ICONSTANTVisitor visitor, Object ctx)
accept 在类中 CONSTANT_infopublic String toString()
toString 在类中 CONSTANT_infopublic int width()
width 在类中 CONSTANT_infoCONSTANT_Long_info,
CONSTANT_Long_infopublic void writeInClassFormat(UDataOutputStream out) throws IOException
writeInClassFormat 在接口中 IClassFormatOutputwriteInClassFormat 在类中 CONSTANT_infoIOExceptionCopyright © 2018. All rights reserved.