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