fr.umlv.corosol.classfile.constant
Interface JConstantDouble

All Superinterfaces:
JClassFileItem, JConstant, JLoadableConstant, JObject
All Known Implementing Classes:
DefaultJConstantDouble

public interface JConstantDouble
extends JLoadableConstant

A JConstantDouble object represents a CONSTANT_Double_info entry of a constant pool.

A CONSTANT_Double_info entry is used to represent an double constant.

Author:
Christophe Deleray
See Also:
JConstantPool

Field Summary
 
Fields inherited from interface fr.umlv.corosol.classfile.constant.JConstant
CONSTANT_CLASS, CONSTANT_DOUBLE, CONSTANT_FIELDREF, CONSTANT_FLOAT, CONSTANT_INTEGER, CONSTANT_INTERFACE_METHODREF, CONSTANT_LONG, CONSTANT_METHODREF, CONSTANT_NAME_AND_TYPE, CONSTANT_STRING, CONSTANT_UTF8
 
Method Summary
 double getDoubleValue()
          Returns the double value stored in this constant pool entry.
 void setDoubleValue(double doubleValue)
          Sets the double value stored in this constant pool entry with the specified value.
 
Methods inherited from interface fr.umlv.corosol.classfile.constant.JLoadableConstant
pushConstantValue
 
Methods inherited from interface fr.umlv.corosol.classfile.constant.JConstant
getLength, getTag, toString
 
Methods inherited from interface fr.umlv.corosol.classfile.JClassFileItem
getConstantPool, readItem, setConstantPool, writeItem
 

Method Detail

getDoubleValue

double getDoubleValue()
Returns the double value stored in this constant pool entry.

Returns:
the double value stored in this constant pool entry

setDoubleValue

void setDoubleValue(double doubleValue)
Sets the double value stored in this constant pool entry with the specified value.

Parameters:
doubleValue - an double value to be stored in this entry