Package ghidra.trace.util

# Class CopyOnWrite.HashCowMap<K,V>

java.lang.Object
ghidra.trace.util.CopyOnWrite.AbstractCowMap<K,V>
ghidra.trace.util.CopyOnWrite.HashCowMap<K,V>

All Implemented Interfaces:
  `Map<K,V>`

Enclosing interface:
  `CopyOnWrite`

public static class CopyOnWrite.HashCowMap<K,V> extends CopyOnWrite.AbstractCowMap<K,V>

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from interface java.util.Map

  `Map.Entry<K,V>`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `HashCowMap()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected Map<K,V>`
  `copyMap(Map<K,V> map)`
  Extension point: Create a mutable copy of the given map

  ### Methods inherited from class ghidra.trace.util.CopyOnWrite.AbstractCowMap

  `clear, computeIfAbsent, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values`

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

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

  ### Methods inherited from interface java.util.Map

  `compute, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll`

- ## Constructor Details

  - ### HashCowMap

    public HashCowMap()

- ## Method Details

  - ### copyMap

    protected Map<K,V> copyMap(Map<K,V> map)
    Description copied from class: `CopyOnWrite.AbstractCowMap`
    Extension point: Create a mutable copy of the given map
    Specified by:
      `copyMap` in class `CopyOnWrite.AbstractCowMap<K,V>`
    Parameters:
      `map` - the map to copy
    Returns:
      the mutable copy