public class PlayList extends LinkedList <AudioFile> {
LinkedList liste= new LinkedList <AudioFile> () ;
private int current;
// Konsturktor
public PlayList() {
this.current =current;
}
public Object getCurrentAudioFile(){
current = indexOf(liste);
if(liste.isEmpty())
return null;
else{
//System.out.println(current);
return current;
}
}
// Konsturktor
public PlayList() {
this.current =current;
}