ConstantObject
, Node
public final class ConstantDouble extends Constant implements ConstantObject
Constant
,
Serialized FormConstructor | Description |
---|---|
ConstantDouble(double bytes) |
|
ConstantDouble(ConstantDouble c) |
Initialize from another object.
|
Modifier and Type | Method | 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(java.io.DataOutputStream file) |
Dump constant double to file stream in binary format.
|
double |
getBytes() |
|
java.lang.Object |
getConstantValue(ConstantPool cp) |
|
void |
setBytes(double bytes) |
|
java.lang.String |
toString() |
clone, copy, equals, getComparator, getTag, hashCode, setComparator
public ConstantDouble(double bytes)
bytes
- Datapublic ConstantDouble(ConstantDouble c)
public void accept(Visitor v)
public final void dump(java.io.DataOutputStream file) throws java.io.IOException
public final double getBytes()
public final void setBytes(double bytes)
bytes
- the raw bytes that represent the double valuepublic final java.lang.String toString()
public java.lang.Object getConstantValue(ConstantPool cp)
getConstantValue
in interface ConstantObject