FileDocCategorySizeDatePackage
FloatCPInfo.javaAPI DocApache Ant 1.701783Wed Dec 13 06:16:22 GMT 2006org.apache.tools.ant.taskdefs.optional.depend.constantpool

FloatCPInfo

public class FloatCPInfo extends ConstantCPInfo
A Float CP Info

Fields Summary
Constructors Summary
public FloatCPInfo()
Constructor.

        super(CONSTANT_FLOAT, 1);
    
Methods Summary
public voidread(java.io.DataInputStream cpStream)
read a constant pool entry from a class stream.

param
cpStream the DataInputStream which contains the constant pool entry to be read.
exception
IOException if there is a problem reading the entry from the stream.

        setValue(new Float(cpStream.readFloat()));
    
public java.lang.StringtoString()
Print a readable version of the constant pool entry.

return
the string representation of this constant pool entry.

        return "Float Constant Pool Entry: " + getValue();