-
public class GlobalMutableState.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private GlobalMutableStateinstancepublic final static GlobalMutableState.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final GlobalMutableStategetOrCreate()Gets the singleton of GlobalMutableState or creates it in the first call. final GlobalMutableStategetInstance()final UnitsetInstance(GlobalMutableState instance)-
-
Method Detail
-
getOrCreate
final GlobalMutableState getOrCreate()
Gets the singleton of GlobalMutableState or creates it in the first call.
-
getInstance
final GlobalMutableState getInstance()
-
setInstance
final Unit setInstance(GlobalMutableState instance)
-
-
-
-