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()
ConstantgetTag in class ConstantConstant.getTag()public float getValue()
public String toString()
toString in class ObjectObject.toString()Copyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.