public class ConstantDouble extends Constant
constantPool
Constructor and Description |
---|
ConstantDouble(Constant[] constantPool,
DataInput inputStream)
constructs a new ConstantDouble
|
ConstantDouble(Constant[] constantPool,
double bytes)
constructs a new ConstantDouble
|
public ConstantDouble(Constant[] constantPool, DataInput inputStream) throws IOException
constantPool
- the constantPool it is part ofinputStream
- the inputstream to read fromIOException
- on failurepublic ConstantDouble(Constant[] constantPool, double bytes)
constantPool
- the constantPool it is part ofbytes
- the bytespublic int getTag()
Constant
getTag
in class Constant
Constant.getTag()
public double getValue()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.