|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--javar.constantpool.ConstantPoolEntry
|
+--javar.constantpool.CONSTANT_Double
This is the class that will represent a CONSTANT_Double value in the constant pool.
| Field Summary |
| Fields inherited from class javar.constantpool.ConstantPoolEntry |
CLASS_CODE, DOUBLE_CODE, FIELD_REF_CODE, FLOAT_CODE, index, INTEGER_CODE, INTERFACE_METHOD_REF_CODE, LONG_CODE, METHOD_REF_CODE, NAME_AND_TYPE_CODE, pool, STRING_CODE, UTF8_CODE |
| Constructor Summary | |
CONSTANT_Double(ConstantPool p)
Constructor |
|
| Method Summary | |
byte |
getCode()
This is the code for this constant |
void |
load(DataInputStream in)
This will read in whatever data is neccessary to create this entry |
byte[] |
toBytes()
This will take the entry and convert it into bytes. |
String |
toString()
This will return the value of the entry as a String |
| Methods inherited from class javar.constantpool.ConstantPoolEntry |
getIndex, setIndex |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CONSTANT_Double(ConstantPool p)
| Method Detail |
public byte getCode()
getCode in class ConstantPoolEntrypublic void load(DataInputStream in)
load in class ConstantPoolEntryin - the stream to read the data frompublic String toString()
toString in class Object
public byte[] toBytes()
throws IOException
toBytes in class ConstantPoolEntryIOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||