home *** CD-ROM | disk | FTP | other *** search
/ Symantec Visual Cafe for Java 2.5 / symantec-visual-cafe-2.5-database-dev-edition.iso / VCafe / VCSAMPL.BIN / Mediator.class (.txt) < prev    next >
Encoding:
Java Class File  |  1997-09-08  |  976 b   |  28 lines

  1. class Mediator {
  2.    public static int theNumber;
  3.    public static int oldNumber;
  4.    public static String developerTalk;
  5.    public static String clientTalk;
  6.  
  7.    public int genRandom() {
  8.       int temp = (int)(Math.random() * (double)100.0F);
  9.       return temp;
  10.    }
  11.  
  12.    public String getDeveloperTalk() {
  13.       return developerTalk;
  14.    }
  15.  
  16.    public void setDeveloperTalk(String s) {
  17.       developerTalk = s;
  18.    }
  19.  
  20.    public String getClientTalk() {
  21.       return clientTalk;
  22.    }
  23.  
  24.    public void setClientTalk(String s) {
  25.       clientTalk = s;
  26.    }
  27. }
  28.