|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.tools.javac.util.Name
com.sun.tools.javac.util.SharedNameTable.NameImpl
static class SharedNameTable.NameImpl
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sun.tools.javac.util.Name |
|---|
Name.Table |
| Field Summary | |
|---|---|
(package private) int |
index
The index where the bytes of this name are stored in the global name buffer `byte'. |
(package private) int |
length
The number of bytes in this name. |
(package private) SharedNameTable.NameImpl |
next
The next name occupying the same hash bucket. |
| Fields inherited from class com.sun.tools.javac.util.Name |
|---|
table |
| Constructor Summary | |
|---|---|
SharedNameTable.NameImpl(SharedNameTable table)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object other)
Is this name equal to other? |
byte[] |
getByteArray()
Get the underlying byte array for this name. |
byte |
getByteAt(int i)
Returns i'th byte of this name. |
int |
getByteLength()
Get the length (in bytes) of this name. |
int |
getByteOffset()
Get the start offset of this name within its byte array. |
int |
getIndex()
|
int |
hashCode()
Return the hash value of this name. |
| Methods inherited from class com.sun.tools.javac.util.Name |
|---|
append, append, charAt, compareTo, contentEquals, getBytes, isEmpty, lastIndexOf, length, startsWith, subName, subSequence, toString, toUtf |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
SharedNameTable.NameImpl next
int index
int length
| Constructor Detail |
|---|
SharedNameTable.NameImpl(SharedNameTable table)
| Method Detail |
|---|
public int getIndex()
getIndex in class Namepublic int getByteLength()
Name
getByteLength in class Namepublic byte getByteAt(int i)
Name
getByteAt in class Namepublic byte[] getByteArray()
Name
getByteArray in class Namepublic int getByteOffset()
Name
getByteOffset in class Namepublic int hashCode()
hashCode in interface NamehashCode in class java.lang.ObjectName.equals(java.lang.Object)public boolean equals(java.lang.Object other)
equals in interface Nameequals in class java.lang.Objectother - the object to be compared with this element
true if the specified object represents the same
name as thisElement.equals(java.lang.Object)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||