| Modifier and Type | Field and Description |
|---|---|
| private int | _count
Total number of Strings in the symbol table |
| private int[] | _hashArea
Primary hash information area: consists of |
| private int | |
| private int | _longNameOffset
Offset within |
| private int | _secondaryStart
Offset within |
| private int | _spilloverEnd
Pointer to the offset within spill-over area where there is room for more spilled over entries (if any). |
| private int | _tertiaryShift
Constant that determines size of buckets for tertiary entries:
|
| private int | _tertiaryStart
Offset within |
| public static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| private | BinaryNameMatcher(SimpleNameMatcher
Backup matcher used if efficient primary matching cannot be used matcher, String[] Set of names to match nameLookup, int Estimated basic hash area size to use (slightly bigger than number
of entries in hashSize)nameLookup arrayConstructor used for creating per- |
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| private final int | |
| pack-priv static int | |
| private static BinaryNameMatcher | |
| private static int | |
| private static int | |
| private int | _findOffsetForAdd(int hash)
Method called to find the location within hash table to add a new symbol in. |
| private int | |
| private int | |
| private int | |
| private int | |
| private int | |
| public static int[] | |
| private int | |
| private boolean | |
| private boolean | |
| public int | |
| private int | |
| private int | |
| private int | |
| private int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public static BinaryNameMatcher | |
| public static BinaryNameMatcher | |
| public static BinaryNameMatcher | |
| public int | |
| public int | matchByQuad(int q1, int q2)
Implements abstract tools.
|
| public int | matchByQuad(int q1, int q2, int q3)
Implements abstract tools.
|
| public int | matchByQuad(int[] q, int qlen)
Implements abstract tools.
|
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public String | |
| public int |
| _count | back to summary |
|---|---|
| private int _count Total number of Strings in the symbol table | |
| _hashArea | back to summary |
|---|---|
| private int[] _hashArea Primary hash information area: consists of | |
| _hashSize | back to summary |
|---|---|
| private int _hashSize Number of slots for primary entries within | |
| _longNameOffset | back to summary |
|---|---|
| private int _longNameOffset Offset within | |
| _secondaryStart | back to summary |
|---|---|
| private int _secondaryStart Offset within | |
| _spilloverEnd | back to summary |
|---|---|
| private int _spilloverEnd Pointer to the offset within spill-over area where there is room
for more spilled over entries (if any).
Spill over area is within fixed-size portion of | |
| _tertiaryShift | back to summary |
|---|---|
| private int _tertiaryShift Constant that determines size of buckets for tertiary entries:
Default value is 2, for buckets of 4 slots; grows bigger with bigger table sizes. | |
| _tertiaryStart | back to summary |
|---|---|
| private int _tertiaryStart Offset within | |
| MAX_ENTRIES | back to summary |
|---|---|
| public static final int MAX_ENTRIES | |
| MAX_LENGTH_IN_QUADS | back to summary |
|---|---|
| private static final int MAX_LENGTH_IN_QUADS | |
| MULT | back to summary |
|---|---|
| private static final int MULT | |
| MULT2 | back to summary |
|---|---|
| private static final int MULT2 | |
| MULT3 | back to summary |
|---|---|
| private static final int MULT3 | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides tools. | |
| BinaryNameMatcher | back to summary |
|---|---|
| private BinaryNameMatcher(SimpleNameMatcher matcher, String[] nameLookup, int hashSize) Constructor used for creating per-
| |
| _appendLongName | back to summary |
|---|---|
| private int _appendLongName(int[] quads, int qlen) | |
| _calcOffset | back to summary |
|---|---|
| private final int _calcOffset(int hash) | |
| _calcTertiaryShift | back to summary |
|---|---|
| pack-priv static int _calcTertiaryShift(int primarySlots) | |
| _construct | back to summary |
|---|---|
| private static BinaryNameMatcher _construct(List<String> symbols, SimpleNameMatcher base) | |
| _decodeFull | back to summary |
|---|---|
| private static int _decodeFull(byte[] b, int offset) | |
| _decodeLast | back to summary |
|---|---|
| private static int _decodeLast(byte[] b, int offset, int bytes) | |
| _findOffsetForAdd | back to summary |
|---|---|
| private int _findOffsetForAdd(int hash) Method called to find the location within hash table to add a new symbol in. | |
| _findTertiary | back to summary |
|---|---|
| private int _findTertiary(int origOffset, int q1) | |
| _findTertiary | back to summary |
|---|---|
| private int _findTertiary(int origOffset, int q1, int q2) | |
| _findTertiary | back to summary |
|---|---|
| private int _findTertiary(int origOffset, int q1, int q2, int q3) | |
| _findTertiary | back to summary |
|---|---|
| private int _findTertiary(int origOffset, int hash, int[] q, int qlen) | |
| _lengthAndIndex | back to summary |
|---|---|
| private int _lengthAndIndex(int qlen) | |
| _quads | back to summary |
|---|---|
| public static int[] _quads(String name) | |
| _spilloverStart | back to summary |
|---|---|
| private int _spilloverStart() Helper method that calculates start of the spillover area | |
| _verifyLongName | back to summary |
|---|---|
| private boolean _verifyLongName(int[] q, int qlen, int spillOffset) | |
| _verifyLongName2 | back to summary |
|---|---|
| private boolean _verifyLongName2(int[] q, int qlen, int spillOffset) | |
| addName | back to summary |
|---|---|
| public int addName(String name) | |
| addName | back to summary |
|---|---|
| private int addName(String name, int q1) | |
| addName | back to summary |
|---|---|
| private int addName(String name, int q1, int q2) | |
| addName | back to summary |
|---|---|
| private int addName(String name, int q1, int q2, int q3) | |
| addName | back to summary |
|---|---|
| private int addName(String name, int[] q, int qlen) | |
| bucketCount | back to summary |
|---|---|
| public int bucketCount() | |
| calcHash | back to summary |
|---|---|
| public int calcHash(int q1) | |
| calcHash | back to summary |
|---|---|
| public int calcHash(int q1, int q2) | |
| calcHash | back to summary |
|---|---|
| public int calcHash(int q1, int q2, int q3) | |
| calcHash | back to summary |
|---|---|
| public int calcHash(int[] q, int qlen) | |
| construct | back to summary |
|---|---|
| public static BinaryNameMatcher construct(List<String> symbols) | |
| constructCaseInsensitive | back to summary |
|---|---|
| public static BinaryNameMatcher constructCaseInsensitive(Locale locale, List<Named> propertyNames, boolean alreadyInterned) | |
| constructFrom | back to summary |
|---|---|
| public static BinaryNameMatcher constructFrom(List<Named> propertyNames, boolean alreadyInterned) | |
| matchByQuad | back to summary |
|---|---|
| public int matchByQuad(int q1) Implements abstract tools.
| |
| matchByQuad | back to summary |
|---|---|
| public int matchByQuad(int q1, int q2) Implements abstract tools.
| |
| matchByQuad | back to summary |
|---|---|
| public int matchByQuad(int q1, int q2, int q3) Implements abstract tools.
| |
| matchByQuad | back to summary |
|---|---|
| public int matchByQuad(int[] q, int qlen) Implements abstract tools.
| |
| primaryQuadCount | back to summary |
|---|---|
| public int primaryQuadCount() | |
| secondaryQuadCount | back to summary |
|---|---|
| public int secondaryQuadCount() | |
| size | back to summary |
|---|---|
| public int size() | |
| spilloverQuadCount | back to summary |
|---|---|
| public int spilloverQuadCount() | |
| tertiaryQuadCount | back to summary |
|---|---|
| public int tertiaryQuadCount() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| totalCount | back to summary |
|---|---|
| public int totalCount() | |