com.planet_ink.coffee_mud.Items.interfaces
Enum MusicalInstrument.InstrumentType

java.lang.Object
  extended by java.lang.Enum<MusicalInstrument.InstrumentType>
      extended by com.planet_ink.coffee_mud.Items.interfaces.MusicalInstrument.InstrumentType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MusicalInstrument.InstrumentType>
Enclosing interface:
MusicalInstrument

public static enum MusicalInstrument.InstrumentType
extends java.lang.Enum<MusicalInstrument.InstrumentType>

The enum of instrument types. These are general categories of instruments, so hopefully nothing is missing. They are used by skills to identify an instrument category.


Enum Constant Summary
CLARINETS
           
CYMBALS
           
DRUMS
           
FLUTES
           
GUITARS
           
HARMONICAS
           
HARPS
           
HORNS
           
OBOES
           
ORGANS
           
OTHER_INSTRUMENT_TYPE
           
PIANOS
           
TROMBONES
           
TRUMPETS
           
TUBAS
           
VIOLINS
           
WOODS
           
XYLOPHONES
           
 
Method Summary
static java.lang.String[] valueNames()
           
static MusicalInstrument.InstrumentType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MusicalInstrument.InstrumentType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CLARINETS

public static final MusicalInstrument.InstrumentType CLARINETS

CYMBALS

public static final MusicalInstrument.InstrumentType CYMBALS

DRUMS

public static final MusicalInstrument.InstrumentType DRUMS

FLUTES

public static final MusicalInstrument.InstrumentType FLUTES

GUITARS

public static final MusicalInstrument.InstrumentType GUITARS

HARMONICAS

public static final MusicalInstrument.InstrumentType HARMONICAS

HARPS

public static final MusicalInstrument.InstrumentType HARPS

HORNS

public static final MusicalInstrument.InstrumentType HORNS

OBOES

public static final MusicalInstrument.InstrumentType OBOES

ORGANS

public static final MusicalInstrument.InstrumentType ORGANS

PIANOS

public static final MusicalInstrument.InstrumentType PIANOS

TROMBONES

public static final MusicalInstrument.InstrumentType TROMBONES

TRUMPETS

public static final MusicalInstrument.InstrumentType TRUMPETS

TUBAS

public static final MusicalInstrument.InstrumentType TUBAS

VIOLINS

public static final MusicalInstrument.InstrumentType VIOLINS

WOODS

public static final MusicalInstrument.InstrumentType WOODS

XYLOPHONES

public static final MusicalInstrument.InstrumentType XYLOPHONES

OTHER_INSTRUMENT_TYPE

public static final MusicalInstrument.InstrumentType OTHER_INSTRUMENT_TYPE
Method Detail

values

public static MusicalInstrument.InstrumentType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (MusicalInstrument.InstrumentType c : MusicalInstrument.InstrumentType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MusicalInstrument.InstrumentType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

valueNames

public static java.lang.String[] valueNames()