public abstract class ConstantPool.Entry extends Object
Constructor and Description |
---|
Entry(byte tag)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
short |
getEntryIndex()
Get the index in the constant pool.
|
byte |
getTag()
Gets the tag related to this entry.
|
abstract void |
writeData(DataOutputStream dos)
Writes this Entry to DataOutputStream given.
|
public Entry(byte tag)
tag
- One of CONSTANT_XXX defined in ConstantPoolpublic byte getTag()
public short getEntryIndex()
public abstract void writeData(DataOutputStream dos) throws IOException
dos
- DataOutputStream usedIOException
- on IOExceptionCopyright © 2017. All rights reserved.