Class Album

    • Constructor Detail

      • Album

        public Album​(AudioSong firstSong)
        Parameters:
        firstSong - first song
      • Album

        public Album​(List<Song> albumSongs)
        Parameters:
        albumSongs - song list with at least one song in it
    • Method Detail

      • add

        public void add​(AudioSong song)
        Parameters:
        song - song
      • shouldContain

        public boolean shouldContain​(AudioSong song)
        Checks whether this album should contain a given song.
        Parameters:
        song - song
        Returns:
        true or false
      • getName

        public String getName()
      • getArtist

        public String getArtist()