Exemple #1
0
 public override void remove(SongComponent newSongComponent)
 {
     throw new NotImplementedException();
 }
Exemple #2
0
 abstract public void remove(SongComponent newSongComponent);
Exemple #3
0
 abstract public void add(SongComponent newSongComponent);
 public DiskJockey(SongComponent newSongList)
 {
     songList = newSongList;
 }
Exemple #5
0
 public override void remove(SongComponent newSongComponent)
 {
     songComponents.Remove(newSongComponent);
 }
Exemple #6
0
 // Whats added into this is an interface SongComponent
 // Since Song and SongGroup implements SongComponents,
 // we can add both types of objects into this class.
 // Only song group can have the add feature as it is not necessarily a leaf node.
 public override void add(SongComponent newSongComponent)
 {
     songComponents.Add(newSongComponent);
 }