Package studio.magemonkey.codex.util
Class DataUT.DoubleArray
java.lang.Object
studio.magemonkey.codex.util.DataUT.DoubleArray
- All Implemented Interfaces:
org.bukkit.persistence.PersistentDataType<byte[],double[]>
- Enclosing class:
DataUT
public static class DataUT.DoubleArray
extends Object
implements org.bukkit.persistence.PersistentDataType<byte[],double[]>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bukkit.persistence.PersistentDataType
org.bukkit.persistence.PersistentDataType.PrimitivePersistentDataType<T> -
Field Summary
Fields inherited from interface org.bukkit.persistence.PersistentDataType
BYTE, BYTE_ARRAY, DOUBLE, FLOAT, INTEGER, INTEGER_ARRAY, LONG, LONG_ARRAY, SHORT, STRING, TAG_CONTAINER, TAG_CONTAINER_ARRAY -
Method Summary
Modifier and TypeMethodDescriptiondouble[]fromPrimitive(byte[] primitive, org.bukkit.persistence.PersistentDataAdapterContext context) Class<double[]> Class<byte[]> byte[]toPrimitive(double[] complex, org.bukkit.persistence.PersistentDataAdapterContext context)
-
Method Details
-
getPrimitiveType
- Specified by:
getPrimitiveTypein interfaceorg.bukkit.persistence.PersistentDataType<byte[],double[]>
-
getComplexType
- Specified by:
getComplexTypein interfaceorg.bukkit.persistence.PersistentDataType<byte[],double[]>
-
toPrimitive
public byte[] toPrimitive(double[] complex, @NotNull org.bukkit.persistence.PersistentDataAdapterContext context) - Specified by:
toPrimitivein interfaceorg.bukkit.persistence.PersistentDataType<byte[],double[]>
-
fromPrimitive
public double[] fromPrimitive(byte[] primitive, @NotNull org.bukkit.persistence.PersistentDataAdapterContext context) - Specified by:
fromPrimitivein interfaceorg.bukkit.persistence.PersistentDataType<byte[],double[]>
-