Persistent Data Container
A container for persistent data.
This interface extends Set to provide a collection of keys, and provides methods to get and check the existence of data associated with those keys.
The data is stored in a key-value format, where the key is a String and the value can be of any type.
The data can be of a primitive type or a complex type, and the conversion between these types is handled by the PersistentDataType.
The container also provides a method to save the data to an output stream using a specified serializer strategy.
Author
Fantamomo
Since
1.0-SNAPSHOT
See also
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.