Enum Class Genre

java.lang.Object
java.lang.Enum<Genre>
org.jjazz.rhythm.api.Genre
All Implemented Interfaces:
Serializable, Comparable<Genre>, Constable

public enum Genre extends Enum<Genre>
High-level musical genre.
  • Enum Constant Details

    • POP

      public static final Genre POP
    • ROCK

      public static final Genre ROCK
    • BALLROOM

      public static final Genre BALLROOM
    • FUNK

      public static final Genre FUNK
    • RB

      public static final Genre RB
    • LATIN

      public static final Genre LATIN
    • JAZZ

      public static final Genre JAZZ
    • COUNTRY

      public static final Genre COUNTRY
    • DANCE

      public static final Genre DANCE
    • ELECTRONIC

      public static final Genre ELECTRONIC
    • HIP_HOP

      public static final Genre HIP_HOP
    • REGGAE

      public static final Genre REGGAE
    • CLASSICAL

      public static final Genre CLASSICAL
    • WORLD

      public static final Genre WORLD
    • UNKNOWN

      public static final Genre UNKNOWN
  • Method Details

    • values

      public static Genre[] 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 Genre 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