ConstantFloat (Apache Tomcat 10.1.48 API Documentation)
Description: declaration: package: org.apache.tomcat.util.bcel.classfile, class: ConstantFloat

# Class ConstantFloat

java.lang.Object
org.apache.tomcat.util.bcel.classfile.Constant
org.apache.tomcat.util.bcel.classfile.ConstantFloat

public final class ConstantFloat extends Constant
This class is derived from the abstract `Constant` and represents a reference to a float object.

See Also:
  - `Constant`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `float`
  `getBytes()`

  ### Methods inherited from class Constant

  `getTag, toString`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Method Details

  - ### getBytes

    public float getBytes()
    Returns:
      data, i.e., 4 bytes.