| Modifier and Type | Field and Description |
|---|---|
| private volatile Reference | |
| private int | |
| private static final int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public V | |
| public void |
| cacheRef | back to summary |
|---|---|
| private volatile Reference<Map<K, V>> cacheRef | |
| capacity | back to summary |
|---|---|
| private int capacity | |
| DEFAULT_CAPACITY | back to summary |
|---|---|
| private static final int DEFAULT_CAPACITY | |
| type | back to summary |
|---|---|
| private int type | |
| SimpleCache | back to summary |
|---|---|
| public SimpleCache() | |
| SimpleCache | back to summary |
|---|---|
| public SimpleCache(int cacheType) | |
| SimpleCache | back to summary |
|---|---|
| public SimpleCache(int cacheType, int initialCapacity) | |
| clear | back to summary |
|---|---|
| public void clear() Implements com.
| |
| get | back to summary |
|---|---|
| public V get(Object key) Implements com.
| |
| put | back to summary |
|---|---|
| public void put(K key, V value) Implements com.
| |