类 ListPersistentDataTypeProvider
PersistentDataType 暴露的已知原始类型。-
方法概要
修饰符和类型方法说明booleans()提供一个共享的ListPersistentDataType,能够存储布尔值列表。@NotNull ListPersistentDataType<byte[],byte[]> 提供一个共享的ListPersistentDataType,能够存储字节数组列表。bytes()提供一个共享的ListPersistentDataType,能够存储字节列表。提供一个共享的ListPersistentDataType,能够存储持久数据容器。doubles()提供一个共享的ListPersistentDataType,能够存储双精度浮点数列表。floats()提供一个共享的ListPersistentDataType,能够存储浮点数列表。@NotNull ListPersistentDataType<int[],int[]> 提供一个共享的ListPersistentDataType,能够存储整数数组列表。integers()提供一个共享的ListPersistentDataType,能够存储整数列表。<P,C> @NotNull ListPersistentDataType<P, C> listTypeFrom(@NotNull PersistentDataType<P, C> elementType) 给定任何用于其元素的持久数据类型,构造一个新的列表持久数据类型。@NotNull ListPersistentDataType<long[],long[]> 提供一个共享的ListPersistentDataType,能够存储长整型数组列表。longs()提供一个共享的ListPersistentDataType,能够存储长整型列表。shorts()提供一个共享的ListPersistentDataType,能够存储短整型列表。strings()提供一个共享的ListPersistentDataType,能够存储字符串列表。
-
方法详细资料
-
bytes
提供一个共享的ListPersistentDataType,能够存储字节列表。原文: Provides a shared
ListPersistentDataTypethat is capable of storing lists of bytes.- 返回:
- 持久数据类型。
-
shorts
提供一个共享的ListPersistentDataType,能够存储短整型列表。原文: Provides a shared
ListPersistentDataTypethat is capable of storing lists of shorts.- 返回:
- 持久数据类型。
-
integers
提供一个共享的ListPersistentDataType,能够存储整数列表。原文: Provides a shared
ListPersistentDataTypethat is capable of storing lists of integers.- 返回:
- 持久数据类型。
-
longs
提供一个共享的ListPersistentDataType,能够存储长整型列表。原文: Provides a shared
ListPersistentDataTypethat is capable of storing lists of longs.- 返回:
- 持久数据类型。
-
floats
提供一个共享的ListPersistentDataType,能够存储浮点数列表。原文: Provides a shared
ListPersistentDataTypethat is capable of storing lists of floats.- 返回:
- 持久数据类型。
-
doubles
提供一个共享的ListPersistentDataType,能够存储双精度浮点数列表。原文: Provides a shared
ListPersistentDataTypethat is capable of storing lists of doubles.- 返回:
- 持久数据类型。
-
booleans
提供一个共享的ListPersistentDataType,能够存储布尔值列表。原文: Provides a shared
ListPersistentDataTypethat is capable of storing lists of booleans.- 返回:
- 持久数据类型。
-
strings
提供一个共享的ListPersistentDataType,能够存储字符串列表。原文: Provides a shared
ListPersistentDataTypethat is capable of storing lists of strings.- 返回:
- 持久数据类型。
-
byteArrays
提供一个共享的ListPersistentDataType,能够存储字节数组列表。原文: Provides a shared
ListPersistentDataTypethat is capable of storing lists of byte arrays.- 返回:
- 持久数据类型。
-
integerArrays
提供一个共享的ListPersistentDataType,能够存储整数数组列表。原文: Provides a shared
ListPersistentDataTypethat is capable of storing lists of int arrays.- 返回:
- 持久数据类型。
-
longArrays
提供一个共享的ListPersistentDataType,能够存储长整型数组列表。原文: Provides a shared
ListPersistentDataTypethat is capable of storing lists of long arrays.- 返回:
- 持久数据类型。
-
dataContainers
@NotNull public @NotNull ListPersistentDataType<PersistentDataContainer,PersistentDataContainer> dataContainers()提供一个共享的ListPersistentDataType,能够存储持久数据容器。原文: Provides a shared
ListPersistentDataTypethat is capable of persistent data containers..- 返回:
- 持久数据类型。
-
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- 存储在列表中的原始类型的通用类型。C- 持久数据类型产生的复杂值的通用类型。- 参数:
elementType- 能够写入/读取列表元素的持久数据类型。- 返回:
- 创建的列表持久数据类型。
-