SingletonPersistentDataContainer

constructor(key: String, primitive: T)(source)

Initializes the container with a specific key and its associated primitive value. Throws an exception if the value type is not allowed.

Parameters

T

The type of the primitive value.