Code example for SparseArray

Methods: delete

0
		mSongs.put(song.hashCode(), song);
		return song.hashCode();
	} 
 
	private void removeSong(Song song) {
		mSongs.delete(song.hashCode());
	} 
 
	public Song getSong(int nowPlayingTag) {
		return mSongs.get(nowPlayingTag);
	} 
 
	public IPlayerHaterBinder getBinder() { 
		return mBinder;
	} 
 
	public void releaseSong(int songTag) {
		// XXX TODO This probably isn't necessary (this method is only called by 
		// the service when it is sure that it will never send this tag again), 
		// but I am leaving it here for now. It is a leak, by its very