Mutable Default Bound Entry
constructor(container: MutablePersistentDataContainer, key: String, type: PersistentDataType<P, C>, defaultValue: () -> C)(source)
Parameters
P
The primitive data type.
C
The complex data type.
key
The key associated with the value in the container.
type
The type used to serialize/deserialize the value.
default Value
A lambda function that provides the default value if the key does not exist.