Class ConstantInfo.ConstantFloat
java.lang.Object
org.vesalainen.bcc.ConstantInfo
org.vesalainen.bcc.ConstantInfo.ConstantFloat
- All Implemented Interfaces:
Writable
- Enclosing class:
ConstantInfo
-
Nested Class Summary
Nested classes/interfaces inherited from class ConstantInfo
ConstantInfo.Clazz, ConstantInfo.ConstantDouble, ConstantInfo.ConstantFloat, ConstantInfo.ConstantInteger, ConstantInfo.ConstantLong, ConstantInfo.ConstantString, ConstantInfo.Fieldref, ConstantInfo.Filler, ConstantInfo.InterfaceMethodref, ConstantInfo.Methodref, ConstantInfo.NameAndType, ConstantInfo.Ref, ConstantInfo.Utf8 -
Field Summary
FieldsFields inherited from class ConstantInfo
CONSTANT_Class, CONSTANT_Double, CONSTANT_Fieldref, CONSTANT_Float, CONSTANT_Integer, CONSTANT_InterfaceMethodref, CONSTANT_Long, CONSTANT_Methodref, CONSTANT_NameAndType, CONSTANT_String, CONSTANT_Utf8 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanfloatinthashCode()protected voidinitialize(DataInput in) voidwrite(DataOutput out) Methods inherited from class ConstantInfo
getTag, read
-
Field Details
-
constant
private int constant
-
-
Constructor Details
-
ConstantFloat
public ConstantFloat(int bytes) -
ConstantFloat
- Throws:
IOException
-
ConstantFloat
ConstantFloat(float constant)
-
-
Method Details
-
initialize
- Specified by:
initializein classConstantInfo- Throws:
IOException
-
write
- Specified by:
writein interfaceWritable- Overrides:
writein classConstantInfo- Throws:
IOException
-
getConstant
public float getConstant() -
equals
-
hashCode
-