程序包 org.bukkit.persistence

# 接口 ListPersistentDataType<P,C>

类型参数:
  `P` - the primitive type of the list element.
  `C` - the complex type of the list elements.

所有超级接口:
  `PersistentDataType<List<P>,List<C>>`

public interface ListPersistentDataType<P,C> extends PersistentDataType<List<P>,List<C>>
The list persistent data represents a data type that is capable of storing a list of other data types in a `PersistentDataContainer`.

- ## 嵌套类概要

  ## 从接口继承的嵌套类/接口 org.bukkit.persistence.PersistentDataType

  `PersistentDataType.BooleanPersistentDataType, PersistentDataType.PrimitivePersistentDataType<P>`

- ## 字段概要

  ### 从接口继承的字段 org.bukkit.persistence.PersistentDataType

  `BOOLEAN, BYTE, BYTE_ARRAY, DOUBLE, FLOAT, INTEGER, INTEGER_ARRAY, LIST, LONG, LONG_ARRAY, SHORT, STRING, TAG_CONTAINER, TAG_CONTAINER_ARRAY`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `@NotNull PersistentDataType<P,C>`
  `elementType()`
  Provides the persistent data type of the elements found in the list.

  ### 从接口继承的方法 org.bukkit.persistence.PersistentDataType

  `fromPrimitive, getComplexType, getPrimitiveType, toPrimitive`

- ## 方法详细资料

  - ### elementType

    @NotNull @NotNull PersistentDataType<P,C> elementType()
    Provides the persistent data type of the elements found in the list.
    返回:
      the persistent data type.