Class DoubleConstant

java.lang.Object
classycle.classfile.Constant
classycle.classfile.DoubleConstant

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

    • DoubleConstant

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

    • getValue

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

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