org.fife.rsta.ac.java.classreader.constantpool
Class ConstantDoubleInfo

java.lang.Object
  extended by org.fife.rsta.ac.java.classreader.constantpool.ConstantPoolInfo
      extended by org.fife.rsta.ac.java.classreader.constantpool.ConstantDoubleInfo

public class ConstantDoubleInfo
extends ConstantPoolInfo

Class corresponding to the CONSTANT_Double_info structure.

Version:
1.0
Author:
Robert Futrell

Field Summary
static int CONSTANT_Class
           
static int CONSTANT_Double
           
static int CONSTANT_Fieldref
           
static int CONSTANT_Float
           
static int CONSTANT_Integer
           
static int CONSTANT_InterfaceMethodref
           
static int CONSTANT_Long
           
static int CONSTANT_Methodref
           
static int CONSTANT_NameAndType
           
static int CONSTANT_String
           
static int CONSTANT_Utf8
           
 
Constructor Summary
ConstantDoubleInfo(int highBytes, int lowBytes)
          Constructor.
 
Method Summary
 double getDoubleValue()
          Returns the double value represented by this constant.
 int getHighBytes()
           
 int getLowBytes()
           
 String toString()
          Returns a string representation of this object.
 
Methods inherited from class org.fife.rsta.ac.java.classreader.constantpool.ConstantPoolInfo
getTag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CONSTANT_Class

public static final int CONSTANT_Class
See Also:
Constant Field Values

CONSTANT_Fieldref

public static final int CONSTANT_Fieldref
See Also:
Constant Field Values

CONSTANT_Methodref

public static final int CONSTANT_Methodref
See Also:
Constant Field Values

CONSTANT_InterfaceMethodref

public static final int CONSTANT_InterfaceMethodref
See Also:
Constant Field Values

CONSTANT_String

public static final int CONSTANT_String
See Also:
Constant Field Values

CONSTANT_Integer

public static final int CONSTANT_Integer
See Also:
Constant Field Values

CONSTANT_Float

public static final int CONSTANT_Float
See Also:
Constant Field Values

CONSTANT_Long

public static final int CONSTANT_Long
See Also:
Constant Field Values

CONSTANT_Double

public static final int CONSTANT_Double
See Also:
Constant Field Values

CONSTANT_NameAndType

public static final int CONSTANT_NameAndType
See Also:
Constant Field Values

CONSTANT_Utf8

public static final int CONSTANT_Utf8
See Also:
Constant Field Values
Constructor Detail

ConstantDoubleInfo

public ConstantDoubleInfo(int highBytes,
                          int lowBytes)
Constructor.

Parameters:
highBytes -
lowBytes -
Method Detail

getDoubleValue

public double getDoubleValue()
Returns the double value represented by this constant.

Returns:
The double value.

getHighBytes

public int getHighBytes()

getLowBytes

public int getLowBytes()

toString

public String toString()
Returns a string representation of this object. Useful for debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.


Copyright © 2003-2011. All Rights Reserved.