//leakcanary-repo/shark/GraphContext
GraphContext¶
[jvm]\ 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 | [jvm] constructor() |
Functions¶
| Name | Summary |
|---|---|
| contains | [jvm] operator fun contains(key: String): Boolean |
| get | [jvm] operator fun <T> get(key: String): T? |
| getOrPut | [jvm] fun <T> getOrPut(key: String, defaultValue: () -> T): T |
| minusAssign | [jvm] operator fun minusAssign(key: String) |
| set | [jvm] operator fun <T> set(key: String, value: T) |