Mutable Persistent Data Container Impl
A mutable implementation of a persistent data container.
This class extends PersistentDataContainerImpl and implements the MutablePersistentDataContainer interface, allowing for the modification of stored data. It provides functionality such as adding, removing, and clearing data, as well as deserialization from an input stream using a specified serializer strategy.
Author
Fantamomo
Since
1.0-SNAPSHOT
Parameters
A map containing the initial key-value pairs to be stored in the container.
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.
This methode is used to make a bulk operation on the MutablePersistentDataContainer.
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.
Loads data from the specified input stream using the specified serializer strategy.
Creates a new instance of MutableBoundEntry that is bound to the specified MutablePersistentDataContainer, using the provided key and PersistentDataType.
Creates a mutable bound entry for a key in the given mutable persistent data container.
Adds multiple entries to this container using vararg pairs.
Adds all entries from the provided map to this container.
Adds multiple nullable entries to this container.
Removes all values associated with the specified keys from this container.
Saves the data in the container to the specified output stream.
This method is used to set the value of the specified key in the PersistentDataContainer.
Converts this MutablePersistentDataContainer into a MutableBufferedPersistentDataContainer.
Converts the current PersistentDataContainer to a buffered version.
Converts the current MutablePersistentDataContainer to a thread-safe implementation by wrapping it in a ConcurrentPersistentDataContainer.
Converts the current PersistentDataContainer instance to an immutable implementation.
Converts this PersistentDataContainer into a MutablePersistentDataContainer.