Track[] tracks = new Track[this.tracks.size()]; this.tracks.toArray(tracks); return tracks;
if (tracksCachedArray == null) { tracksCachedArray = new Track[this.tracks.size()]; tracks.toArray(tracksCachedArray); } return tracksCachedArray;
  public Track[] getTracks() {    synchronized (this) {      Track[] tracks = new Track[this.tracks.size()];      this.tracks.toArray(tracks);      return tracks;    }  }