Enum DataType

java.lang.Object
java.lang.Enum<DataType>
dev.zarr.zarrjava.v3.DataType
All Implemented Interfaces:
DataType, Serializable, Comparable<DataType>

public enum DataType extends Enum<DataType> implements DataType
  • Enum Constant Details

    • BOOL

      public static final DataType BOOL
    • INT8

      public static final DataType INT8
    • INT16

      public static final DataType INT16
    • INT32

      public static final DataType INT32
    • INT64

      public static final DataType INT64
    • UINT8

      public static final DataType UINT8
    • UINT16

      public static final DataType UINT16
    • UINT32

      public static final DataType UINT32
    • UINT64

      public static final DataType UINT64
    • FLOAT32

      public static final DataType FLOAT32
    • FLOAT64

      public static final DataType FLOAT64
  • Method Details

    • values

      public static DataType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static DataType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
    • getByteCount

      public int getByteCount()
      Specified by:
      getByteCount in interface DataType
    • getMA2DataType

      public ucar.ma2.DataType getMA2DataType()
      Specified by:
      getMA2DataType in interface DataType