|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.tools.javac.util.Name.Table
public abstract static class Name.Table
An abstraction for the hash table used to create unique Name instances.
| Field Summary | |
|---|---|
Names |
names
Standard name table. |
| Constructor Summary | |
|---|---|
Name.Table(Names names)
|
|
| Method Summary | |
|---|---|
abstract void |
dispose()
Release any resources used by this table. |
protected static boolean |
equals(byte[] bytes1,
int offset1,
byte[] bytes2,
int offset2,
int length)
Compare two subarrays |
abstract Name |
fromChars(char[] cs,
int start,
int len)
Get the name from the characters in cs[start..start+len-1]. |
Name |
fromString(java.lang.String s)
Get the name for the characters in string s. |
Name |
fromUtf(byte[] cs)
Get the name for the bytes in array cs. |
abstract Name |
fromUtf(byte[] cs,
int start,
int len)
get the name for the bytes in cs[start..start+len-1]. |
protected static int |
hashValue(byte[] bytes,
int offset,
int length)
The hashcode of a name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final Names names
| Constructor Detail |
|---|
Name.Table(Names names)
| Method Detail |
|---|
public abstract Name fromChars(char[] cs,
int start,
int len)
public Name fromString(java.lang.String s)
public Name fromUtf(byte[] cs)
public abstract Name fromUtf(byte[] cs,
int start,
int len)
public abstract void dispose()
protected static int hashValue(byte[] bytes,
int offset,
int length)
protected static boolean equals(byte[] bytes1,
int offset1,
byte[] bytes2,
int offset2,
int length)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||