| Modifier and Type | Field and Description |
|---|---|
| private int | |
| public static long | |
| private long[] | |
| private int | |
| private static final int[] | |
| private int | |
| private int | |
| private long[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private final int | |
| public synchronized long | |
| private final int | |
| private final int | |
| private void | |
| public synchronized void | |
| private void |
| arraySize | back to summary |
|---|---|
| private int arraySize | |
| EMPTY | back to summary |
|---|---|
public static long EMPTY
| |
| keys | back to summary |
|---|---|
| private long[] keys | |
| pIndex | back to summary |
|---|---|
| private int pIndex | |
| primes | back to summary |
|---|---|
| private static final int[] primes | |
| size | back to summary |
|---|---|
| private int size | |
| threshold | back to summary |
|---|---|
| private int threshold | |
| values | back to summary |
|---|---|
| private long[] values | |
| CalendarCache | back to summary |
|---|---|
public CalendarCache()
| |
| findIndex | back to summary |
|---|---|
| private final int findIndex(long key) | |
| get | back to summary |
|---|---|
public synchronized long get(long key)
| |
| hash | back to summary |
|---|---|
| private final int hash(long key) Produce a uniformly-distributed hash value from an integer key. This is essentially a linear congruential random number generator that uses the key as its seed value. | |
| hash2 | back to summary |
|---|---|
| private final int hash2(long key) | |
| makeArrays | back to summary |
|---|---|
| private void makeArrays(int newSize) | |
| put | back to summary |
|---|---|
public synchronized void put(long key, long value)
| |
| rehash | back to summary |
|---|---|
| private void rehash() | |