classycle.classfile
Class FloatConstant

java.lang.Object
  extended by classycle.classfile.Constant
      extended by classycle.classfile.FloatConstant

public class FloatConstant
extends Constant

Constant representing a float value.

Author:
Franz-Josef Elmer

Constructor Summary
FloatConstant(Constant[] pool, float value)
          Creates an instance for the specified float value.
 
Method Summary
 float getValue()
          Returns the wrapped float value.
 java.lang.String toString()
          Returns the constant type and the float value.
 
Methods inherited from class classycle.classfile.Constant
extractConstantPool, getConstant
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FloatConstant

public FloatConstant(Constant[] pool,
                     float value)
Creates an instance for the specified float value.

Method Detail

getValue

public float getValue()
Returns the wrapped float value.


toString

public java.lang.String toString()
Returns the constant type and the float value.

Overrides:
toString in class java.lang.Object