B C E F G I L M P S T W 

B

Brass - Static variable in class SymphonySection
Use this constant to indicate that a musician is a member of the Brass section.

C

Conductor - Static variable in class SymphonySection
Use this constant to indicate that a musician is the Conductor (which places him or her in a section all their own).

E

equals(Musician) - Method in class Musician
The function equals properly compares Musician objects.
equals(SymphonySection) - Method in class SymphonySection
This inherited function tests whether two SymphonySection objects are really the same.

F

findSectionFromEnumeration(int) - Static method in class SymphonySection
This function will return a SymphonySection object corresponding to the enumeration number provided.

G

getEnumerationCounter() - Static method in class SymphonySection
This function returns the static EnumerationCounter value, which equals the number of SymphonySections that have been created.
getInstrument() - Method in class Musician
This function returns the musician's instrument.
getName() - Method in class Musician
This function returns the musician's name.
getNumberInSection(SymphonySection) - Static method in class Musician
This function returns the number of musicians in the specified section of the symphony.
getNumberOfMusicians() - Static method in class Musician
This function returns the total number of musicians.
getOffice() - Method in class Musician
This function returns the musician's office number.
getSection() - Method in class Musician
This function returns the musician's Orchestra Section.

I

isPrinciple() - Method in class Musician
This function indicates whether the musician is the Principle of their section.

L

listSections() - Static method in class SymphonySection
This function lists all of the Symphony Sections (including both the Enumeration Numbers and Section Names) to System.out.

M

main(String[]) - Static method in class Musician
Some code to test our class.
main(String[]) - Static method in class SymphonySection
This main() function is used merely for testing this SymphonySection class.
Musician - Class in <Unnamed>
This class allows one to create objects that represent Musicians.
Musician(String, String, String, SymphonySection, boolean) - Constructor for class Musician
This function constructs a new Musician object using the provided parameters.
Musician(Musician) - Constructor for class Musician
This copy constructor creates a new Musician object copying the relevant details from another Musician object.

P

Percussion - Static variable in class SymphonySection
Use this constant to indicate that a musician is a member of the Percussion section.

S

setInstrument(String) - Method in class Musician
This function sets a musician's Instrument.
setName(String) - Method in class Musician
This function sets a musician's Name.
setOffice(String) - Method in class Musician
This function sets a musician's Office number.
setPrinciple(boolean) - Method in class Musician
This function sets whether a musician is the Principle of their section.
setSection(SymphonySection) - Method in class Musician
This function sets a musician's Orchestra Section, updating the symphony section counts as necessary.
Strings - Static variable in class SymphonySection
Use this constant to indicate that a musician is a member of the Strings section.
SymphonySection - Class in <Unnamed>
This class provides an easy way to enumerate, or count and list, all of the sections within a Symphony.

T

toString() - Method in class Musician
The function toString outputs detailed information for the Musician class.
toString() - Method in class SymphonySection
This inherited function returns the name of this section as a human-readable String.

W

WoodWinds - Static variable in class SymphonySection
Use this constant to indicate that a musician is a member of the WoodWinds section.
B C E F G I L M P S T W