Class ConstantFloatInfo

  • All Implemented Interfaces:
    ConstantTypes

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

      • bytes

        private int bytes
    • Constructor Detail

      • ConstantFloatInfo

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

      • getBytes

        public long getBytes()
      • getFloatValue

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

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