java.io.Serializable, java.lang.Cloneable, ConstantObject, Nodepublic final class ConstantLong extends Constant implements ConstantObject
Constant,
Serialized Form| Constructor | Description |
|---|---|
ConstantLong(long bytes) |
|
ConstantLong(ConstantLong c) |
Initialize from another object.
|
| Modifier and Type | Method | Description |
|---|---|---|
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(java.io.DataOutputStream file) |
Dump constant long to file stream in binary format.
|
long |
getBytes() |
|
java.lang.Object |
getConstantValue(ConstantPool cp) |
|
void |
setBytes(long bytes) |
|
java.lang.String |
toString() |
clone, copy, equals, getComparator, getTag, hashCode, setComparatorpublic ConstantLong(long bytes)
bytes - Datapublic ConstantLong(ConstantLong c)
public void accept(Visitor v)
public final void dump(java.io.DataOutputStream file)
throws java.io.IOException
public final long getBytes()
public final void setBytes(long bytes)
bytes - thr raw bytes that represent this longpublic final java.lang.String toString()
public java.lang.Object getConstantValue(ConstantPool cp)
getConstantValue in interface ConstantObject