org.apache.derby.iapi.services.classfile
Class CONSTANT_Utf8_info
java.lang.Object
org.apache.derby.iapi.services.classfile.ConstantPoolEntry
org.apache.derby.iapi.services.classfile.CONSTANT_Utf8_info
- final class CONSTANT_Utf8_info
- extends ConstantPoolEntry
Utf8- page 100 - Section 4.4.7
Method Summary |
(package private) int |
classFileSize()
We assume here that the String is ASCII, thus this
might return a size smaller than actual size. |
(package private) java.lang.Object |
getKey()
Return the key used to key this object in a hashtable |
(package private) void |
put(ClassFormatOutput out)
|
(package private) void |
setAlternative(int index)
|
(package private) int |
setAsCode()
|
(package private) int |
setAsString()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
value
private final java.lang.String value
asString
private int asString
asCode
private int asCode
CONSTANT_Utf8_info
CONSTANT_Utf8_info(java.lang.String value)
getKey
java.lang.Object getKey()
- Description copied from class:
ConstantPoolEntry
- Return the key used to key this object in a hashtable
- Overrides:
getKey
in class ConstantPoolEntry
classFileSize
int classFileSize()
- We assume here that the String is ASCII, thus this
might return a size smaller than actual size.
- Specified by:
classFileSize
in class ConstantPoolEntry
toString
public java.lang.String toString()
setAsCode
int setAsCode()
setAsString
int setAsString()
setAlternative
void setAlternative(int index)
put
void put(ClassFormatOutput out)
throws java.io.IOException
- Overrides:
put
in class ConstantPoolEntry
- Throws:
java.io.IOException
Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.