Skip to content
🤔 Documentation issue? Report it

//leakcanary/shark/GraphContext

GraphContext

class GraphContext

In memory store that can be used to store objects in a given HeapGraph instance. This is a simple MutableMap of String to Any, but with unsafe generics access.

Constructors

GraphContext fun GraphContext()

Functions

Name Summary
contains operator fun contains(key: String): Boolean
get operator fun <T> get(key: String): T?
getOrPut fun <T> getOrPut(key: String, defaultValue: () -> T): T
minusAssign operator fun minusAssign(key: String)
set operator fun <T> set(key: String, value: T)