FileDocCategorySizeDatePackage
DoubleCPInfo.javaAPI DocApache Ant 1.701860Wed Dec 13 06:16:20 GMT 2006org.apache.tools.ant.taskdefs.optional.depend.constantpool

DoubleCPInfo

public class DoubleCPInfo extends ConstantCPInfo
The constant pool entry subclass used to represent double constant values.

Fields Summary
Constructors Summary
public DoubleCPInfo()
Constructor

        super(CONSTANT_DOUBLE, 2);
    
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 Double(cpStream.readDouble()));
    
public java.lang.StringtoString()
Print a readable version of the constant pool entry.

return
the string representation of this constant pool entry.

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