Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

BasicSimulation.java 1.1KB

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. Copyright (c) Xerox Corporation 1998-2002. All rights reserved.
  3. Use and copying of this software and preparation of derivative works based
  4. upon this software are permitted. Any distribution of this software or
  5. derivative works must comply with all applicable United States export control
  6. laws.
  7. This software is made available AS IS, and Xerox Corporation makes no warranty
  8. about the software, its performance or its conformity to any specification.
  9. |<--- this code is formatted to fit into 80 columns --->|
  10. |<--- this code is formatted to fit into 80 columns --->|
  11. |<--- this code is formatted to fit into 80 columns --->|
  12. */
  13. package telecom;
  14. /**
  15. * This simulation subclass implements AbstractSimulation.run(..)
  16. * with a test script for the telecom system with only the
  17. * basic objects.
  18. */
  19. public class BasicSimulation extends AbstractSimulation {
  20. public static void main(String[] args){
  21. simulation = new BasicSimulation();
  22. simulation.run();
  23. }
  24. protected void report(Customer c) { }
  25. }