Exemple #1
0
 private void notifyTrackCountChanged() {
   synchronized (listeners) {
     Iterator iterator = listeners.iterator();
     while (iterator.hasNext()) {
       ICdPlayerListener listener = (ICdPlayerListener) iterator.next();
       listener.trackCountChanged(trackCount);
     }
   }
 }
Exemple #2
0
 private void notifyRandomChanged() {
   synchronized (listeners) {
     Iterator iterator = listeners.iterator();
     while (iterator.hasNext()) {
       ICdPlayerListener listener = (ICdPlayerListener) iterator.next();
       listener.randomChanged(isRandomOn);
     }
   }
 }
Exemple #3
0
 private void notifyStopped() {
   synchronized (listeners) {
     Iterator iterator = listeners.iterator();
     while (iterator.hasNext()) {
       ICdPlayerListener listener = (ICdPlayerListener) iterator.next();
       listener.stopped();
     }
   }
 }