Class FloatConstant

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

public class FloatConstant extends Constant
Constant representing a float value.
Author:
Franz-Josef Elmer
  • Constructor Details

    • FloatConstant

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

    • getValue

      public float getValue()
      Returns the wrapped float value.
    • toString

      public String toString()
      Returns the constant type and the float value.
      Overrides:
      toString in class Object