set abstract method

bool set(
  1. K k,
  2. V v
)

Set value in cache, if the value is present it will be overwritten Returns true when element is overwritten otherwise false

Implementation

bool set(K k, V v);