classycle.classfile
Class LongConstant

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

public class LongConstant
extends Constant

Constant representing a long value.

Author:
Franz-Josef Elmer

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

LongConstant

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

Method Detail

getValue

public long getValue()
Returns the wrapped long value.


toString

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

Overrides:
toString in class java.lang.Object