home *** CD-ROM | disk | FTP | other *** search
/ Java Programmer's Toolkit / Java Programmer's Toolkit.iso / applets / collectn / procedur.jav < prev    next >
Encoding:
Text File  |  1995-10-22  |  842 b   |  37 lines

  1. /*
  2.   File: Procedure.java
  3.  
  4.   Originally written by Doug Lea and released into the public domain. 
  5.   Thanks for the assistance and support of Sun Microsystems Labs, Agorics 
  6.   Inc, Loral, and everyone contributing, testing, and using this code.
  7.  
  8.   History:
  9.   Date     Who                What
  10.   22Oct95  dl@cs.oswego.edu   Created.
  11.  
  12. */
  13.   
  14. package collections;
  15.  
  16. /**
  17.  *
  18.  * Procedure is a common interface for aclasses with an arbitrary void operation
  19.  * of one argument that may throw any kind of exception.
  20.  * @author Doug Lea
  21.  * @version 0.93
  22.  *
  23.  * <P> For an introduction to this package see <A HREF="index.html"> Overview </A>.
  24.  *
  25. **/
  26.  
  27.  
  28. public interface Procedure {
  29.  
  30. /**
  31.  * Execute some procedure on obj.
  32.  * Raise any Exception at all.
  33. **/  
  34.   public void       procedure(Object obj) throws Exception; 
  35. }
  36.  
  37.