jef.dna.constantInfo
Interface ConstFloat

All Superinterfaces:
java.lang.Cloneable, ConstantInfo
All Known Implementing Classes:
ConstantFloat

@ClosingCpInfo
public interface ConstFloat
extends ConstantInfo

This interface has to be implemented by those classes representing a CONSTANT_Float_info structure. The CONSTANT_Float_info structure is used to represent 4-byte numeric constants.

Author:
Francesco Russo frusso@dev.java.net

Method Summary
 int getValue()
          The bytes item of the CONSTANT_Float_info structure represents the value of the float constant in IEEE 754 floating-point single format.
 void setValue(int val)
          The bytes item of the CONSTANT_Float_info structure represents the value of the float constant in IEEE 754 floating-point single format.
 
Methods inherited from interface jef.dna.constantInfo.ConstantInfo
clone, fromStream, getCpt, getTag, getType, setCpt, setTag, toStream, updateRefs, validate
 

Method Detail

getValue

int getValue()
The bytes item of the CONSTANT_Float_info structure represents the value of the float constant in IEEE 754 floating-point single format. The bytes of the single format representation are stored in big-endian (high byte first) order.

Returns:
int The CONSTANT_Float_info value

setValue

void setValue(int val)
The bytes item of the CONSTANT_Float_info structure represents the value of the float constant in IEEE 754 floating-point single format. The bytes of the single format representation are stored in big-endian (high byte first) order.

Parameters:
val - The CONSTANT_Float_info value