/** * Merges this playlist with another * * * @param p The playlist to be merged with this one. */ public void mergePlaylist(PlayList p) { for (int i = 0; i < p.numberOfSongs(); i++) { songlist.add(p.getSong(i)); } }