Interface FloatEntry

All Superinterfaces:
AnnotationConstantValueEntry, ConstantValueEntry, LoadableConstantEntry, PoolEntry

public sealed interface FloatEntry extends AnnotationConstantValueEntry, ConstantValueEntry
Models a CONSTANT_Float_info structure, or a float constant, in the constant pool of a class file.

The use of a FloatEntry is modeled by a float. Conversions are through ConstantPoolBuilder.floatEntry(float) and floatValue(). In the conversions, all NaN values of the float may or may not be collapsed into a single "canonical" NaN value.

See Java Virtual Machine Specification:
4.4.4 The CONSTANT_Integer_info and CONSTANT_Float_info Structures
Since:
24
See Also: