#BlueJ class context comment0.params= comment0.target=MusicOrganizer() comment0.text=\n\ Create\ a\ MusicOrganizer\n comment1.params=filename comment1.target=void\ addFile(java.lang.String) comment1.text=\n\ Add\ a\ file\ to\ the\ collection.\n\ @param\ filename\ The\ file\ to\ be\ added.\n comment2.params= comment2.target=int\ getNumberOfFiles() comment2.text=\n\ Return\ the\ number\ of\ files\ in\ the\ collection.\n\ @return\ The\ number\ of\ files\ in\ the\ collection.\n comment3.params=index comment3.target=void\ listFile(int) comment3.text=\n\ List\ a\ file\ from\ the\ collection.\n\ @param\ index\ The\ index\ of\ the\ file\ to\ be\ listed.\n comment4.params= comment4.target=void\ listAllFiles() comment4.text=\n\ Show\ a\ list\ of\ all\ the\ files\ in\ the\ collection.\n comment5.params=index comment5.target=void\ removeFile(int) comment5.text=\n\ Remove\ a\ file\ from\ the\ collection.\n\ @param\ index\ The\ index\ of\ the\ file\ to\ be\ removed.\n comment6.params=index comment6.target=void\ startPlaying(int) comment6.text=\n\ Start\ playing\ a\ file\ in\ the\ collection.\n\ Use\ stopPlaying()\ to\ stop\ it\ playing.\n\ @param\ index\ The\ index\ of\ the\ file\ to\ be\ played.\n comment7.params= comment7.target=void\ stopPlaying() comment7.text=\n\ Stop\ the\ player.\n comment8.params=index comment8.target=void\ playAndWait(int) comment8.text=\n\ Play\ a\ file\ in\ the\ collection.\ Only\ return\ once\ playing\ has\ finished.\n\ @param\ index\ The\ index\ of\ the\ file\ to\ be\ played.\n comment9.params=index comment9.target=boolean\ validIndex(int) comment9.text=\n\ Determine\ whether\ the\ given\ index\ is\ valid\ for\ the\ collection.\n\ Print\ an\ error\ message\ if\ it\ is\ not.\n\ @param\ index\ The\ index\ to\ be\ checked.\n\ @return\ true\ if\ the\ index\ is\ valid,\ false\ otherwise.\n numComments=10