Persistent Data Container Impl
Implementation of the PersistentDataContainer interface.
This class provides the underlying functionality for managing a container of key-value pairs that can persistently store data. Keys are strings, and values are stored in association with these keys, adhering to the type constraints defined by the PersistentDataType interface.
Data stored in the container must use primitive types that pass validation defined by NativePersistentDataType.allow. Non-primitive data types are not allowed.
The container provides operations for accessing, checking the existence of, and retrieving both primitive and complex data types.
Author
Fantamomo
Since
1.0-SNAPSHOT
Parameters
An optional map of key-value pairs to initialize the container. All values must pass validation by NativePersistentDataType.allow.
Inheritors
Functions
Creates a bound entry for accessing persistent data within the container.
Creates a DefaultBoundEntry that is bound to the specified PersistentDataContainer. This entry allows the retrieval of a value using the specified key and type, with the capability to provide a default value if the key does not exist in the container.
Checks if the container contains a value associated with the specified PersistentKey.
This methode copies all key-value pairs from the PersistentDataContainer to the receiver.
This methode is used to get the direct value of the key.
This method is used to get the value of the specified key from the PersistentDataContainer.
This method is used to get the value of the specified key from the PersistentDataContainer.
This methode is uses to get the element by the key.
Gets the primitive value associated with the specified key.
This method is used to get the value of the specified key from the PersistentDataContainer.
Saves the data in the container to the specified output stream.
Converts the current PersistentDataContainer to a buffered version.
Converts the current PersistentDataContainer instance to an immutable implementation.
Converts this PersistentDataContainer into a MutablePersistentDataContainer.