MemoryScopesProfile

constructor(vararg scopeNames: Pair<MemoryScopeType, String>)(source)

Secondary constructor for MemoryScopesProfile that initializes the profile with a variable number of MemoryScopeType to String mappings. This constructor converts the provided pairs into a mutable map and passes it to the primary constructor.

Parameters

scopeNames

Variable number of pairs where the key is a MemoryScopeType and the value is the associated scope name.


constructor(names: MutableMap<MemoryScopeType, String> = mutableMapOf())(source)