# 程序包 org.bukkit.persistence

package org.bukkit.persistence
用于向各种对象附加持久化数据的类.

- 相关程序包
  程序包
  说明
  org.bukkit
  Bukkit API的顶级程序包, 包含通用的API类和接口.
- 类
  说明
  ListPersistentDataType<P,C>
  The list persistent data represents a data type that is capable of storing a list of other data types in a `PersistentDataContainer`.
  ListPersistentDataTypeProvider
  A provider for list persistent data types that represent the known primitive types exposed by `PersistentDataType`.
  PersistentDataAdapterContext
  This interface represents the context in which the `PersistentDataType` can serialize and deserialize the passed values.
  PersistentDataContainer
  This interface represents a map like object, capable of storing custom tags in it.
  PersistentDataHolder
  The `PersistentDataHolder` interface defines an object that can store custom persistent meta data on it.
  PersistentDataType<P,C>
  This class represents an enum with a generic content type.
  PersistentDataType.BooleanPersistentDataType
  A convenience implementation to convert between Byte and Boolean as there is no native implementation for booleans.
  PersistentDataType.PrimitivePersistentDataType<P>
  A default implementation that simply exists to pass on the retrieved or inserted value to the next layer.