org.apache.bcel.classfile
public final class ConstantLong extends Constant implements ConstantObject
Version: $Id: ConstantLong.java 152751 2002-03-11 16:16:38Z mdahm $
See Also: Constant
| Constructor Summary | |
|---|---|
| ConstantLong(long bytes) | |
| ConstantLong(ConstantLong c)
Initialize from another object. | |
| Method Summary | |
|---|---|
| void | accept(Visitor v)
Called by objects that are traversing the nodes of the tree implicitely
defined by the contents of a Java class. |
| void | dump(DataOutputStream file)
Dump constant long to file stream in binary format.
|
| long | getBytes() |
| Object | getConstantValue(ConstantPool cp) |
| void | setBytes(long bytes) |
| String | toString() |
Parameters: bytes Data
Parameters: v Visitor object
Parameters: file Output file stream
Throws: IOException
Returns: data, i.e., 8 bytes.
Returns: Long object
Parameters: bytes.
Returns: String representation.