for (int i = 0; i < tracks.length; i++) if (tracks[i].isHidden() || tracks[i].isMissing() || tracks[i].isNotDownloaded() || tracks[i].isRated())
for (int i = 0; i < tracks.length; i++){ Track track = tracks[i]; if (!track.isActive() || track.isRated())
  public int getNoOfUnrated() {    Track[] tracks = getTracks();    int noOfUnrated = 0;    for (int i = 0; i < tracks.length; i++)      if (tracks[i].isHidden() || tracks[i].isMissing() || tracks[i].isNotDownloaded() || tracks[i].isRated())        ;      else        noOfUnrated++;      return noOfUnrated;    }