All Implemented Interfaces:
VMConstants

public class ConstFloat extends ConstValue
Class representing a float constant in the constant pool of a class file
  • Field Details

  • Method Details

    • tag

      public int tag()
      The tag of this constant entry
      Specified by:
      tag in class ConstBasic
    • value

      public float value()
      return the value associated with the entry
    • descriptor

      public String descriptor()
      Return the descriptor string for the constant type.
      Specified by:
      descriptor in class ConstValue
    • toString

      public String toString()
      A printable representation
      Overrides:
      toString in class Object