Enum Class ALcdBandSemantics.DataType

java.lang.Object
java.lang.Enum<ALcdBandSemantics.DataType>
com.luciad.imaging.ALcdBandSemantics.DataType
All Implemented Interfaces:
Serializable, Comparable<ALcdBandSemantics.DataType>, Constable
Enclosing class:
ALcdBandSemantics

public static enum ALcdBandSemantics.DataType extends Enum<ALcdBandSemantics.DataType>
An enumeration that defines the type of a band.
  • Enum Constant Details

  • Method Details

    • values

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

      public static ALcdBandSemantics.DataType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getSize

      public int getSize()
      Returns the size in bytes of this type.
      Returns:
      the size in bytes of this type
    • getSizeInBits

      public int getSizeInBits()
      Returns the size in bits of this type.
      Returns:
      the size in bits of this type
    • getMinValue

      public Number getMinValue()
      Returns the minimum value for this data type.

      Note that for floating point data types the special values (ex. Infinity, NaN, etc.) are not considered.

      Returns:
      the minimum value, never null
    • getMaxValue

      public Number getMaxValue()
      Returns the maximum value for this data type.

      Note that for floating point data types the special values (ex. Infinity, NaN, etc.) are not considered.

      Returns:
      the maximum value, never null
    • isSigned

      public boolean isSigned()
      Returns whether the data type supports signed values or not.
      Returns:
      true if the data type supports signed values