Package org.bukkit.persistence
Interface ListPersistentDataType<P,C>
- Type Parameters:
P
- the primitive type of the list element.C
- the complex type of the list elements.
- All Superinterfaces:
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
.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bukkit.persistence.PersistentDataType
PersistentDataType.BooleanPersistentDataType, PersistentDataType.PrimitivePersistentDataType<P>
-
Field Summary
Fields inherited from interface org.bukkit.persistence.PersistentDataType
BOOLEAN, BYTE, BYTE_ARRAY, DOUBLE, FLOAT, INTEGER, INTEGER_ARRAY, LIST, LONG, LONG_ARRAY, SHORT, STRING, TAG_CONTAINER, TAG_CONTAINER_ARRAY
-
Method Summary
Modifier and TypeMethodDescriptionProvides the persistent data type of the elements found in the list.Methods inherited from interface org.bukkit.persistence.PersistentDataType
fromPrimitive, getComplexType, getPrimitiveType, toPrimitive
-
Method Details
-
elementType
Provides the persistent data type of the elements found in the list.- Returns:
- the persistent data type.
-