org.jscience.arts.musical
Class Instrument

java.lang.Object
  extended by org.jscience.arts.musical.Instrument
All Implemented Interfaces:
Named

public class Instrument
extends java.lang.Object
implements Named

A class representing an instrument.


Constructor Summary
Instrument(java.lang.String name, int kind)
          Creates a new Instrument object.
 
Method Summary
 int getKind()
          DOCUMENT ME!
 java.lang.String getName()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Instrument

public Instrument(java.lang.String name,
                  int kind)
Creates a new Instrument object.

Parameters:
name - DOCUMENT ME!
kind - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!
Method Detail

getName

public java.lang.String getName()
DOCUMENT ME!

Specified by:
getName in interface Named
Returns:
DOCUMENT ME!

getKind

public int getKind()
DOCUMENT ME!

Returns:
DOCUMENT ME!