| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| private final boolean | |
| private static final double | |
| private final long | |
| pack-priv static final int | |
| private final char[] |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| pack-priv static int | chooseTableSize(int setSize)
Returns an array size suitable for the backing array of a hash table that uses open addressing with linear probing in its implementation. |
| pack-priv static CharMatcher | |
| public boolean | matches(char c)
Implements abstract com. |
| pack-priv void | setBits(BitSet table)
Overrides com. table matched by this matcher.
|
| pack-priv static int |
| C1 | back to summary |
|---|---|
| private static final int C1 | |
| C2 | back to summary |
|---|---|
| private static final int C2 | |
| containsZero | back to summary |
|---|---|
| private final boolean containsZero | |
| DESIRED_LOAD_FACTOR | back to summary |
|---|---|
| private static final double DESIRED_LOAD_FACTOR | |
| filter | back to summary |
|---|---|
| private final long filter | |
| MAX_SIZE | back to summary |
|---|---|
| pack-priv static final int MAX_SIZE | |
| table | back to summary |
|---|---|
| private final char[] table | |
| SmallCharMatcher | back to summary |
|---|---|
| private SmallCharMatcher(char[] table, long filter, boolean containsZero, String description) | |
| checkFilter | back to summary |
|---|---|
| private boolean checkFilter(int c) | |
| chooseTableSize | back to summary |
|---|---|
| pack-priv static int chooseTableSize(int setSize) Returns an array size suitable for the backing array of a hash table that uses open addressing with linear probing in its implementation. The returned size is the smallest power of two that can hold setSize elements with the desired load factor.
| |
| from | back to summary |
|---|---|
| pack-priv static CharMatcher from(BitSet chars, String description) | |
| matches | back to summary |
|---|---|
| public boolean matches(char c) Implements abstract com. Doc from com. Determines a true or false value for the given character.
| |
| setBits | back to summary |
|---|---|
| pack-priv void setBits(BitSet table) Overrides com. Doc from com. Sets bits in
| |
| smear | back to summary |
|---|---|
| pack-priv static int smear(int hashCode) | |