All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class harpoon.ClassFile.Raw.Constant.ConstantValue

java.lang.Object
   |
   +----harpoon.ClassFile.Raw.Constant.Constant
           |
           +----harpoon.ClassFile.Raw.Constant.ConstantValue

public abstract class ConstantValue
extends Constant
The ConstantValue interface provides a standard way for constants to return a wrapped version of their values. It is intended for CONSTANT_Double, CONSTANT_Float, CONSTANT_Integer, CONSTANT_Long, and CONSTANT_String. It is not applicable to CONSTANT_Class and the like, which do not have an obvious object wrapper.

Version:
$Id: ConstantValue.java,v 1.2 1998/10/11 03:01:15 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>
See Also:
ConstantDouble, ConstantFloat, ConstantInteger, ConstantLong, ConstantString

Constructor Index

 o ConstantValue(ClassFile)

Method Index

 o value()

Constructors

 o ConstantValue
 protected ConstantValue(ClassFile parent)

Methods

 o value
 public abstract Object value()

All Packages  Class Hierarchy  This Package  Previous  Next  Index