Class DataUT.BooleanDataType

java.lang.Object
studio.magemonkey.codex.util.DataUT.BooleanDataType
All Implemented Interfaces:
org.bukkit.persistence.PersistentDataType<Byte,Boolean>
Enclosing class:
DataUT

public static class DataUT.BooleanDataType extends Object implements org.bukkit.persistence.PersistentDataType<Byte,Boolean>
  • 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
    fromPrimitive(Byte primitive, org.bukkit.persistence.PersistentDataAdapterContext context)
     
     
     
    toPrimitive(Boolean 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,Boolean>
    • getComplexType

      @NotNull public Class<Boolean> getComplexType()
      Specified by:
      getComplexType in interface org.bukkit.persistence.PersistentDataType<Byte,Boolean>
    • toPrimitive

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

      @NotNull public Boolean fromPrimitive(@NotNull Byte primitive, @NotNull org.bukkit.persistence.PersistentDataAdapterContext context)
      Specified by:
      fromPrimitive in interface org.bukkit.persistence.PersistentDataType<Byte,Boolean>