G M P S T

G

getArtist() - Method in class Song
Returns the artist of this song.
getGenre() - Method in class Song
Returns the genre of this song.
getSize() - Method in class MusicLibrary
Returns the number of Songs in this MusicLibrary.
getTitle() - Method in class Song
Returns the title of this song.

M

main(String[]) - Static method in class MusicLibrary
The main method should provide an interactive program that creates a MusicLibrary and queries that MusicLibrary based on input from the user.
MusicLibrary - Class in <Unnamed>
An instance of the MusicLibrary class represents a collection of songs.
MusicLibrary(String) - Constructor for class MusicLibrary
Creates a MusicLibrary containing all of the Songs specified in the input file.

P

printSongsByArtist(String) - Method in class MusicLibrary
Writes to standard output all Songs in this MusicLibrary that are performed by the specified artist.
printSongsOfGenre(String) - Method in class MusicLibrary
Writes to standard output all Songs in this MusicLibrary that are of the specified musical genre.

S

Song - Class in <Unnamed>
An instance of the Song class represents a song with a title sung by an artist of some musical genre.
Song(String, String, String) - Constructor for class Song
Creates a Song instance with the specified title, artist, and genre.

T

toString() - Method in class Song
Returns a String representation of this song.

G M P S T