怎样随机播放不重复的歌曲
private songdinyi loadStageSongInfo(int stageIndex){
songdinyi song=new songdinyi();
//Random rand = new Random();
//stageIndex = rand.nextInt(15);
stageIndex=(int)(Math.random()*16);
String[]stage=songshuzu.SONG[stageIndex];
song.setSongFileName(stage[songshuzu.WENJIANMING]);
song.setSongName(stage[songshuzu.GEQUMING]);
return song;
}