Class PersistentDataType.PrimitivePersistentDataType<T>

java.lang.Object
org.bukkit.persistence.PersistentDataType.PrimitivePersistentDataType<T>
Type Parameters:
T - the generic type of the primitive objects
All Implemented Interfaces:
PersistentDataType<T,​T>
Enclosing interface:
PersistentDataType<T,​Z>

public static class PersistentDataType.PrimitivePersistentDataType<T>
extends Object
implements PersistentDataType<T,​T>
A default implementation that simply exists to pass on the retrieved or inserted value to the next layer.

This implementation does not add any kind of logic, but is used to provide default implementations for the primitive types.