putIfAbsent method

view source

V putIfAbsent (K key, V ifAbsent()) inherited

Implementation

V putIfAbsent(K key, V ifAbsent()) {
  throw UnsupportedError("Cannot modify unmodifiable map");
}