Enum Class BandType

java.lang.Object
java.lang.Enum<BandType>
noiseBandMonitor.BandType
All Implemented Interfaces:
Serializable, Comparable<BandType>, Constable

public enum BandType extends Enum<BandType>
  • Enum Constant Details Link icon

    • OCTAVE Link icon

      public static final BandType OCTAVE
    • THIRDOCTAVE Link icon

      public static final BandType THIRDOCTAVE
    • DECIDECADE Link icon

      public static final BandType DECIDECADE
    • DECADE Link icon

      public static final BandType DECADE
    • TENTHOCTAVE Link icon

      public static final BandType TENTHOCTAVE
    • TWELTHOCTAVE Link icon

      public static final BandType TWELTHOCTAVE
  • Method Details Link icon

    • values Link icon

      public static BandType[] 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 Link icon

      public static BandType 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
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Enum<BandType>
    • getDecimateFactor Link icon

      public int getDecimateFactor()
      For Decade bands, decimate by a factor 10 for each band. For all others decimate by a factor 2.
      Returns:
    • description Link icon

      public String description()
      Longer description to use in tool tips.
      Returns:
    • getBandRatio Link icon

      public double getBandRatio()
      Ratio between centres of adjacent bands.
      Returns: