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 Type
    Method
    Description
    double[]
    fromPrimitive(byte[] primitive, org.bukkit.persistence.PersistentDataAdapterContext context)
     
    Class<double[]>
     
    Class<byte[]>
     
    byte[]
    toPrimitive(double[] complex, org.bukkit.persistence.PersistentDataAdapterContext context)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getPrimitiveType

      @NotNull public Class<byte[]> getPrimitiveType()
      Specified by:
      getPrimitiveType in interface org.bukkit.persistence.PersistentDataType<byte[],double[]>
    • getComplexType

      @NotNull public Class<double[]> getComplexType()
      Specified by:
      getComplexType in interface org.bukkit.persistence.PersistentDataType<byte[],double[]>
    • toPrimitive

      public byte[] toPrimitive(double[] complex, @NotNull org.bukkit.persistence.PersistentDataAdapterContext context)
      Specified by:
      toPrimitive in interface org.bukkit.persistence.PersistentDataType<byte[],double[]>
    • fromPrimitive

      public double[] fromPrimitive(byte[] primitive, @NotNull org.bukkit.persistence.PersistentDataAdapterContext context)
      Specified by:
      fromPrimitive in interface org.bukkit.persistence.PersistentDataType<byte[],double[]>