Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

Condition.java 444B

1234567891011121314151617181920
  1. package coordination;
  2. /**
  3. * Interface for pre-conditions that are passed to guardedEntry methods of
  4. * Coordinator.
  5. * Conditions should be passed as anonymous classes that simply implement
  6. * the checkit method.
  7. *
  8. */
  9. public interface Condition {
  10. /**
  11. * This method is called automatically by Coordinator.guardedEntry(...)
  12. * and it's called everytime the coordination state changes.
  13. */
  14. public boolean checkit();
  15. }