diff options
| author | Clyhtsuriva <aimeric@adjutor.xyz> | 2020-12-28 12:50:35 +0100 |
|---|---|---|
| committer | Clyhtsuriva <aimeric@adjutor.xyz> | 2020-12-28 12:50:35 +0100 |
| commit | bbfea6a58692da47dd6e166dd13cd02dd6d55074 (patch) | |
| tree | bb06878f2a4ec6ae90671fb8d4bcb7134fd03ce9 /Album.java | |
| parent | b3ed778f6452211bc4070ba7644ea3247ad8f234 (diff) | |
| download | jMusicHub-bbfea6a58692da47dd6e166dd13cd02dd6d55074.tar.gz jMusicHub-bbfea6a58692da47dd6e166dd13cd02dd6d55074.tar.bz2 jMusicHub-bbfea6a58692da47dd6e166dd13cd02dd6d55074.zip | |
Display content of an album
Diffstat (limited to '')
| -rw-r--r-- | Album.java | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -27,7 +27,12 @@ public class Album implements Serializable { public String getArtist(){return artist;} public Date getDate(){return date;} - public ArrayList<Song> getSongs(){return songs;} + public void getSongs(){ + for ( Song s : songs ){ + System.out.println(s); + } + + } public void setId(int id){this.id=id;} |
