set method

Cache<K, V> set(
  1. K key,
  2. V element
)

add element in the cache at key

Implementation

Cache<K, V> set(K key, V element) {
  return _set(key, element);
}