String rating = " (" + Integer.toString(getRating()) + "/" + getNoOfTimesPlayed()+ ")";
int ratingValue = getRawRating(); String ratingStr = ratingValue < 0 ? "UNRATED" : Integer.toString(getRating()); String rating = " (" + ratingStr + "/" + getNoOfTimesPlayed()+ ")";
  public String toString() {    String rating = " (" + Integer.toString(getRating()) + "/" + getNoOfTimesPlayed()+ ")";    String artist = getArtist();    String title = getTitle();    if (artist.length() == 0) {       if (title.length() == 0)        return "?" + rating;      return title + rating;    }    if (title.length() == 0)      return artist + rating;    return artist + " / " + title + rating;  }