Project for Continous Integration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
444 B

  1. package device.cdPlayer;
  2. import java.util.ArrayList;
  3. import java.util.List;
  4. public class CDWechseler {
  5. private CD[]CDList=new CD[10];
  6. private boolean running=false;
  7. public boolean isRunning() {
  8. return running;
  9. }
  10. public void activate() {
  11. this.running = true;
  12. }
  13. public CD[] getCDList() {
  14. return CDList;
  15. }
  16. public void loadOneCD(CD cd,int index){
  17. CDList[index]=cd;
  18. }
  19. }