Constant and represents a reference to a Double object.
Constant
| Modifier and Type | Field and Description |
|---|---|
| private double |
| Access | Constructor and Description |
|---|---|
| public | |
| pack-priv | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(final Visitor
Visitor object v)Implements abstract com. Implements com. Called by objects that are traversing the nodes of the tree implicitly defined by the contents of a Java class. |
| public void | dump(final DataOutputStream
Output file stream file)Implements abstract com. Dump constant double to file stream in binary format. |
| public double | |
| public Object | Returns: Double objectImplements com. Gets the object representing the constant, e.g., Long for ConstantLong. |
| public void | |
| public String | Returns: String representation.Overrides com. Returns a string representation of the object. |
| bytes | back to summary |
|---|---|
| private double bytes | |
| ConstantDouble | back to summary |
|---|---|
| public ConstantDouble(final ConstantDouble c) Initialize from another object.
| |
| ConstantDouble | back to summary |
|---|---|
| pack-priv ConstantDouble(final DataInput file) throws IOException Initialize instance from file data.
| |
| ConstantDouble | back to summary |
|---|---|
public ConstantDouble(final double bytes)
| |
| accept | back to summary |
|---|---|
| public void accept(final Visitor v) Implements abstract com. Implements com. Called by objects that are traversing the nodes of the tree implicitly defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects. | |
| dump | back to summary |
|---|---|
| public void dump(final DataOutputStream file) throws IOException Implements abstract com. Dump constant double to file stream in binary format.
| |
| getBytes | back to summary |
|---|---|
public double getBytes()
| |
| getConstantValue | back to summary |
|---|---|
| public Object getConstantValue(final ConstantPool cp) Implements com. Doc from com. Gets the object representing the constant, e.g., Long for ConstantLong. | |
| setBytes | back to summary |
|---|---|
public void setBytes(final double bytes)
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides com. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |