Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

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. }