|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavassist.bytecode.annotation.MemberValue
javassist.bytecode.annotation.FloatMemberValue
Floating-point number constant value.
Constructor Summary | |
FloatMemberValue(ConstPool cp)
Constructs a float constant value. |
|
FloatMemberValue(float f,
ConstPool cp)
Constructs a float constant value. |
|
FloatMemberValue(int index,
ConstPool cp)
Constructs a float constant value. |
Method Summary | |
void |
accept(MemberValueVisitor visitor)
Accepts a visitor. |
float |
getValue()
Obtains the value of the member. |
void |
setValue(float newValue)
Sets the value of the member. |
java.lang.String |
toString()
Obtains the string representation of this object. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FloatMemberValue(int index, ConstPool cp)
index
- the index of a CONSTANT_Float_info structure.public FloatMemberValue(float f, ConstPool cp)
f
- the initial value.public FloatMemberValue(ConstPool cp)
Method Detail |
public float getValue()
public void setValue(float newValue)
public java.lang.String toString()
public void accept(MemberValueVisitor visitor)
accept
in class MemberValue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |