- 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.- Since:
- 22
- Jvms:
- 4.4.4 The CONSTANT_Integer_info and CONSTANT_Float_info Structures
-
Method Summary
Methods inherited from interface org.glavo.classfile.constantpool.AnnotationConstantValueEntry
constantValueMethods inherited from interface org.glavo.classfile.constantpool.ConstantValueEntry
constantValueMethods inherited from interface org.glavo.classfile.constantpool.PoolEntry
constantPool, index, tag, widthMethods inherited from interface org.glavo.classfile.WritableElement
writeTo
-
Method Details
-
floatValue
float floatValue()Returns the float value.- Returns:
- the float value
-
typeKind
Returns the type of the constant.- Specified by:
typeKindin interfaceLoadableConstantEntry- Returns:
- the type of the constant
-