fr.umlv.corosol.classfile.constant
Interface JConstantLong

All Superinterfaces:
JClassFileItem, JConstant, JLoadableConstant, JObject
All Known Implementing Classes:
DefaultJConstantLong

public interface JConstantLong
extends JLoadableConstant

A JConstantLong object represents a CONSTANT_Long_info entry of a constant pool.

A CONSTANT_Long_info entry is used to represent an float constant.

Author:
Christophe Deleray
See Also:
JConstantPool

Field Summary
 
Fields inherited from interface fr.umlv.corosol.classfile.constant.JConstant
CONSTANT_CLASS, CONSTANT_DOUBLE, CONSTANT_FIELDREF, CONSTANT_FLOAT, CONSTANT_INTEGER, CONSTANT_INTERFACE_METHODREF, CONSTANT_LONG, CONSTANT_METHODREF, CONSTANT_NAME_AND_TYPE, CONSTANT_STRING, CONSTANT_UTF8
 
Method Summary
 long getLongValue()
          Returns the long value stored in this constant pool entry.
 void setLongValue(long longValue)
          Sets the long value stored in this constant pool entry with the specified value.
 
Methods inherited from interface fr.umlv.corosol.classfile.constant.JLoadableConstant
pushConstantValue
 
Methods inherited from interface fr.umlv.corosol.classfile.constant.JConstant
getLength, getTag, toString
 
Methods inherited from interface fr.umlv.corosol.classfile.JClassFileItem
getConstantPool, readItem, setConstantPool, writeItem
 

Method Detail

getLongValue

long getLongValue()
Returns the long value stored in this constant pool entry.

Returns:
the long value stored in this constant pool entry

setLongValue

void setLongValue(long longValue)
Sets the long value stored in this constant pool entry with the specified value.

Parameters:
longValue - an long value to be stored in this entry