| Modifier and Type | Field and Description |
|---|---|
| protected final int | mHash
Since the hash is calculated different from the way eventual String's hash will be (bit faster, not significantly worse hashing uniformness), we need to store that hash here. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract boolean | |
| public abstract boolean | |
| public abstract int | |
| public abstract int | |
| public int | hashCode()
Overrides com. |
| public abstract boolean | |
| public abstract boolean | |
| public abstract int |
| mHash | back to summary |
|---|---|
| protected final int mHash Since the hash is calculated different from the way eventual String's hash will be (bit faster, not significantly worse hashing uniformness), we need to store that hash here. | |
| ByteBasedPName | back to summary |
|---|---|
| protected ByteBasedPName(String pname, String prefix, String ln, int hash) | |
| equals | back to summary |
|---|---|
| public abstract boolean equals(int quad1, int quad2) | |
| equals | back to summary |
|---|---|
| public abstract boolean equals(int[] quads, int qlen) | |
| getFirstQuad | back to summary |
|---|---|
| public abstract int getFirstQuad() Implements abstract com.
| |
| getQuad | back to summary |
|---|---|
| public abstract int getQuad(int index) Implements abstract com.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides com. Whether we should use internal hash, or the hash of prefixed name string itself is an open question. For now, let's use former.
| |
| hashEquals | back to summary |
|---|---|
| public abstract boolean hashEquals(int h, int quad1, int quad2) | |
| hashEquals | back to summary |
|---|---|
| public abstract boolean hashEquals(int h, int[] quads, int qlen) | |
| sizeInQuads | back to summary |
|---|---|
| public abstract int sizeInQuads() Implements abstract com.
| |