类 ListPersistentDataTypeProvider
java.lang.Object
org.bukkit.persistence.ListPersistentDataTypeProvider
A provider for list persistent data types that represent the known primitive
 types exposed by 
PersistentDataType.- 
方法概要修饰符和类型方法说明booleans()Provides a sharedListPersistentDataTypethat is capable of storing lists of booleans.@NotNull ListPersistentDataType<byte[],byte[]> Provides a sharedListPersistentDataTypethat is capable of storing lists of byte arrays.bytes()Provides a sharedListPersistentDataTypethat is capable of storing lists of bytes.Provides a sharedListPersistentDataTypethat is capable of persistent data containers..doubles()Provides a sharedListPersistentDataTypethat is capable of storing lists of doubles.floats()Provides a sharedListPersistentDataTypethat is capable of storing lists of floats.@NotNull ListPersistentDataType<int[],int[]> Provides a sharedListPersistentDataTypethat is capable of storing lists of int arrays.integers()Provides a sharedListPersistentDataTypethat is capable of storing lists of integers.<P,C> @NotNull ListPersistentDataType<P, C> listTypeFrom(@NotNull PersistentDataType<P, C> elementType) Constructs a new list persistent data type given any persistent data type for its elements.@NotNull ListPersistentDataType<long[],long[]> Provides a sharedListPersistentDataTypethat is capable of storing lists of long arrays.longs()Provides a sharedListPersistentDataTypethat is capable of storing lists of longs.shorts()Provides a sharedListPersistentDataTypethat is capable of storing lists of shorts.strings()Provides a sharedListPersistentDataTypethat is capable of storing lists of strings.
- 
方法详细资料- 
bytesProvides a sharedListPersistentDataTypethat is capable of storing lists of bytes.- 返回:
- the persistent data type.
 
- 
shortsProvides a sharedListPersistentDataTypethat is capable of storing lists of shorts.- 返回:
- the persistent data type.
 
- 
integersProvides a sharedListPersistentDataTypethat is capable of storing lists of integers.- 返回:
- the persistent data type.
 
- 
longsProvides a sharedListPersistentDataTypethat is capable of storing lists of longs.- 返回:
- the persistent data type.
 
- 
floatsProvides a sharedListPersistentDataTypethat is capable of storing lists of floats.- 返回:
- the persistent data type.
 
- 
doublesProvides a sharedListPersistentDataTypethat is capable of storing lists of doubles.- 返回:
- the persistent data type.
 
- 
booleansProvides a sharedListPersistentDataTypethat is capable of storing lists of booleans.- 返回:
- the persistent data type.
 
- 
stringsProvides a sharedListPersistentDataTypethat is capable of storing lists of strings.- 返回:
- the persistent data type.
 
- 
byteArraysProvides a sharedListPersistentDataTypethat is capable of storing lists of byte arrays.- 返回:
- the persistent data type.
 
- 
integerArraysProvides a sharedListPersistentDataTypethat is capable of storing lists of int arrays.- 返回:
- the persistent data type.
 
- 
longArraysProvides a sharedListPersistentDataTypethat is capable of storing lists of long arrays.- 返回:
- the persistent data type.
 
- 
dataContainers@NotNull public @NotNull ListPersistentDataType<PersistentDataContainer,PersistentDataContainer> dataContainers()Provides a sharedListPersistentDataTypethat is capable of persistent data containers..- 返回:
- the persistent data type.
 
- 
listTypeFrom@NotNull public <P,C> @NotNull ListPersistentDataType<P,C> listTypeFrom(@NotNull @NotNull PersistentDataType<P, C> elementType) Constructs a new list persistent data type given any persistent data type for its elements.- 类型参数:
- P- the generic type of the primitives stored in the list.
- C- the generic type of the complex values yielded back by the persistent data types.
- 参数:
- elementType- the persistent data type that is capable of writing/reading the elements of the list.
- 返回:
- the created list persistent data type.
 
 
-