Code example for ConcurrentMap

Methods: replace

0
    return map.replace(k, v, v1);
  } 
 
  public V replace(K k, V v) {
    Checker.checkType(v);
    V ret = map.replace(k, v);
    return Checker.copyIfRequired(ret);
  } 
 
  public int size() { 
    return map.size();
  } 
 
  public boolean isEmpty() { 
    return map.isEmpty();
  } 
 
  public boolean containsKey(Object o) {
    return map.containsKey(o);
  }