org.apache.tomcat.util.bcel.classfile
Class ConstantFloat
java.lang.Object
org.apache.tomcat.util.bcel.classfile.Constant
org.apache.tomcat.util.bcel.classfile.ConstantFloat
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public final class ConstantFloat
- extends Constant
This class is derived from the abstract
Constant class
and represents a reference to a float object.
- Version:
- $Id: ConstantFloat.java 1377533 2012-08-26 22:22:59Z markt $
- Author:
- M. Dahm
- See Also:
Constant
,
Serialized Form
Fields inherited from class org.apache.tomcat.util.bcel.classfile.Constant |
tag |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
ConstantFloat
public ConstantFloat(float bytes)
- Parameters:
bytes
- Data
getBytes
public final float getBytes()
- Returns:
- data, i.e., 4 bytes.
toString
public final java.lang.String toString()
- Overrides:
toString
in class Constant
- Returns:
- String representation.
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.