-
- All Implemented Interfaces:
public class GlobalMutableState.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private volatile GlobalMutableStateinstancepublic final static GlobalMutableState.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final GlobalMutableStateget(ClientState clientState)Gets the singleton of GlobalMutableState or creates it in the first call. final GlobalMutableStategetInstance()final UnitsetInstance(GlobalMutableState instance)-
-
Method Detail
-
get
final GlobalMutableState get(ClientState clientState)
Gets the singleton of GlobalMutableState or creates it in the first call.
-
getInstance
final GlobalMutableState getInstance()
-
setInstance
final Unit setInstance(GlobalMutableState instance)
-
-
-
-