| Modifier and Type | Class and Description |
|---|---|
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| private final ConcurrentMap | |
| private final Cache. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public V | Returns: the value for the specified key, if anythe key the value is associated with key)If a value isn't associated with the specified key, a new |
| public V |
| cache | back to summary |
|---|---|
| private final ConcurrentMap<K, V> cache | |
| factory | back to summary |
|---|---|
| private final Cache. | |
| Cache | back to summary |
|---|---|
| public Cache(Cache. Constructs this cache using the specified | |
| get | back to summary |
|---|---|
| public V get(final K key) If a value isn't associated with the specified key, a new
| |
| remove | back to summary |
|---|---|
| public V remove(final K key) | |
| Modifier and Type | Method and Description |
|---|---|
| public default V | apply(K
the function argument key)Implements java. Applies this function to the given argument. |
| public V |
| apply | back to summary |
|---|---|
| public default V apply(K key) Implements java. Doc from java. Applies this function to the given argument.
| |
| newInstance | back to summary |
|---|---|
| public V newInstance(final K arg) throws InterruptedException | |