1. /*
  2. * @(#)Conditional.java 1.2 01/11/29
  3. *
  4. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.awt;
  8. /**
  9. * Conditional is used by the EventDispatchThread's message pumps to
  10. * determine if a given pump should continue to run, or should instead exit
  11. * and yield control to the parent pump.
  12. *
  13. * @version 1.2 11/29/01
  14. * @author David Mendenhall
  15. */
  16. interface Conditional {
  17. boolean evaluate();
  18. }