Interface FloatEntry

All Superinterfaces:
AnnotationConstantValueEntry, ClassfileElement, ConstantValueEntry, LoadableConstantEntry, PoolEntry, WritableElement<PoolEntry>
All Known Implementing Classes:
AbstractPoolEntry.FloatEntryImpl

public sealed interface FloatEntry extends AnnotationConstantValueEntry, ConstantValueEntry permits AbstractPoolEntry.FloatEntryImpl
Models a CONSTANT_Float_info constant in the constant pool of a classfile.
  • Method Details

    • floatValue

      float floatValue()
      Returns the float value.
      Returns:
      the float value
    • typeKind

      default TypeKind typeKind()
      Returns the type of the constant.
      Specified by:
      typeKind in interface LoadableConstantEntry
      Returns:
      the type of the constant