proguard.classfile.constant
Class DoubleConstant

java.lang.Object
  extended by proguard.classfile.constant.Constant
      extended by proguard.classfile.constant.DoubleConstant
All Implemented Interfaces:
VisitorAccepter

public class DoubleConstant
extends Constant

This Constant represents a double constant in the constant pool.


Field Summary
 double f8value
           
 
Fields inherited from class proguard.classfile.constant.Constant
visitorInfo
 
Constructor Summary
DoubleConstant()
          Creates an uninitialized DoubleConstant.
DoubleConstant(double value)
          Creates a new DoubleConstant with the given double value.
 
Method Summary
 void accept(Clazz clazz, ConstantVisitor constantVisitor)
          Accepts the given visitor.
 int getTag()
          Returns the constant pool info tag that specifies the entry type.
 double getValue()
          Returns the double value of this DoubleConstant.
 void setValue(double value)
          Sets the double value of this DoubleConstant.
 
Methods inherited from class proguard.classfile.constant.Constant
getVisitorInfo, setVisitorInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

f8value

public double f8value
Constructor Detail

DoubleConstant

public DoubleConstant()
Creates an uninitialized DoubleConstant.


DoubleConstant

public DoubleConstant(double value)
Creates a new DoubleConstant with the given double value.

Method Detail

getValue

public double getValue()
Returns the double value of this DoubleConstant.


setValue

public void setValue(double value)
Sets the double value of this DoubleConstant.


getTag

public int getTag()
Description copied from class: Constant
Returns the constant pool info tag that specifies the entry type.

Specified by:
getTag in class Constant

accept

public void accept(Clazz clazz,
                   ConstantVisitor constantVisitor)
Description copied from class: Constant
Accepts the given visitor.

Specified by:
accept in class Constant