home *** CD-ROM | disk | FTP | other *** search
/ CD Ware Multimedia 1999 February / CDW0299.iso / Demos / Cafe / Source.bin / CompareFuncCB.java < prev    next >
Encoding:
Java Source  |  1998-03-18  |  600 b   |  20 lines

  1. package symantec.itools.awt;
  2.  
  3. //  07/19/97    LAB    Moved CompareFuncCB interface into it's own file from Matrix.java, at compiler's
  4. //                    request.
  5. //  08/06/97    RKM    Made public to facilitate MultiList rework
  6.  
  7. /**
  8.  * Interface for objects that allow both comparing of values
  9.  * and swapping the compared values betweeen the objects.
  10.  */
  11. public interface CompareFuncCB extends CompareFunc
  12. {
  13.     /**
  14.      * Exchanges the compared values in the two given objects.
  15.      * @param o1 the first object
  16.      * @param o2 the second object
  17.      */
  18.     public abstract void callBackSwap(Object o1, Object o2);
  19. }
  20.