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

    • OCTAVE

      public static final BandType OCTAVE
    • THIRDOCTAVE

      public static final BandType THIRDOCTAVE
    • DECIDECADE

      public static final BandType DECIDECADE
    • DECADE

      public static final BandType DECADE
    • TENTHOCTAVE

      public static final BandType TENTHOCTAVE
    • TWELTHOCTAVE

      public static final BandType TWELTHOCTAVE
  • Method Details

    • values

      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

      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

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

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

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

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