classycle.classfile
Class DoubleConstant

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

public class DoubleConstant
extends Constant

Constant representing a double value.

Author:
Franz-Josef Elmer

Constructor Summary
DoubleConstant(Constant[] pool, double value)
          Creates an instance for the specified double value.
 
Method Summary
 double getValue()
          Returns the wrapped double value.
 java.lang.String toString()
          Returns the constant type and the double 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

DoubleConstant

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

Method Detail

getValue

public double getValue()
Returns the wrapped double value.


toString

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

Overrides:
toString in class java.lang.Object