org.apache.bcel.classfile
public final class ConstantDouble extends Constant implements ConstantObject
Version: $Id: ConstantDouble.java 386056 2006-03-15 11:31:56Z tcurdt $
See Also: Constant
| Field Summary | |
|---|---|
| double | bytes |
| Constructor Summary | |
|---|---|
| ConstantDouble(double bytes) | |
| ConstantDouble(ConstantDouble c)
Initialize from another object. | |
| ConstantDouble(DataInputStream file)
Initialize instance from file data.
| |
| Method Summary | |
|---|---|
| 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() |
Parameters: bytes Data
Parameters: file Input stream
Throws: IOException
Parameters: v Visitor object
Parameters: file Output file stream
Throws: IOException
Returns: data, i.e., 8 bytes.
Returns: Double object
Parameters: bytes the raw bytes that represent the double value
Returns: String representation.