1. /*
  2. * @(#)Conditional.java 1.6 03/12/19
  3. *
  4. * Copyright 2004 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.6 12/19/03
  14. * @author David Mendenhall
  15. */
  16. interface Conditional {
  17. boolean evaluate();
  18. }