Class ConstantFloatInfo

java.lang.Object
org.fife.rsta.ac.java.classreader.constantpool.ConstantPoolInfo
org.fife.rsta.ac.java.classreader.constantpool.ConstantFloatInfo
All Implemented Interfaces:
ConstantTypes

public class ConstantFloatInfo extends ConstantPoolInfo
Class corresponding to the CONSTANT_Float_info structure.
Version:
1.0
  • Field Details

    • bytes

      private int bytes
  • Constructor Details

    • ConstantFloatInfo

      public ConstantFloatInfo(int bytes)
      Constructor.
      Parameters:
      bytes - The bytes.
  • Method Details

    • getBytes

      public long getBytes()
    • getFloatValue

      public float getFloatValue()
      Returns the float value represented.
      Returns:
      The float value.
    • toString

      public String toString()
      Returns a string representation of this object. Useful for debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.