public final class ConstantDouble extends Constant implements ConstantObject
Constant,
Serialized Form| Constructor and Description |
|---|
ConstantDouble(ConstantDouble c)
Initialize from another object.
|
ConstantDouble(double bytes) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor v)
Called by objects that are traversing the nodes of the tree implicitely
defined by the contents of a Java class.
|
void |
dump(DataOutputStream file)
Dump constant double to file stream in binary format.
|
double |
getBytes() |
Object |
getConstantValue(ConstantPool cp) |
void |
setBytes(double bytes) |
String |
toString() |
public ConstantDouble(double bytes)
bytes - Datapublic ConstantDouble(ConstantDouble c)
public void accept(Visitor v)
public final void dump(DataOutputStream file) throws IOException
dump in class Constantfile - Output file streamIOExceptionpublic final double getBytes()
public final void setBytes(double bytes)
bytes. - public final String toString()
public Object getConstantValue(ConstantPool cp)
getConstantValue in interface ConstantObjectCopyright © 2018–2021 mhoffrogge. All rights reserved.