Package org.zkoss.zel.impl.util

## Class ConcurrentCache<K,​V>

- java.lang.Object
- - org.zkoss.zel.impl.util.ConcurrentCache<K,​V>

-     public final class ConcurrentCache<K,​V>
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ConcurrentCache​(int size)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `V` | `computeIfAbsent​(K key, java.util.function.Function<? super K,​? extends V> mappingFunction)` |
    `V` | `get​(K k)` |
    `void` | `put​(K k, V v)` |
    `V` | `putIfAbsent​(K key, V value)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ConcurrentCache

          public ConcurrentCache​(int size)

  - ### Method Detail

    - #### get

          public V get​(K k)

    - #### put

          public void put​(K k,
                          V v)

    - #### computeIfAbsent

          public V computeIfAbsent​(K key,
                                   java.util.function.Function<? super K,​? extends V> mappingFunction)

    - #### putIfAbsent

          public V putIfAbsent​(K key,
                               V value)