Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

BSLObserver.java

00001 public class BSLObserver 
00002 {
00003      public static Subject quantification$s;
00004      public static Watcher quantification$o;
00005      
00006      public static void main (java.lang.String[] args)
00007      {
00008           Subject s = new Subject();
00009           if (quantification$s  == null)
00010           if (Bandera.choose())
00011           quantification$s = s;
00012           (new SubjectThread(s)).start();
00013           Watcher w1 = new Watcher();
00014           if (quantification$o  == null)
00015           if (Bandera.choose())
00016           quantification$o = w1;
00017           Watcher w2 = new Watcher();
00018           if (quantification$o  == null)
00019           if (Bandera.choose())
00020           quantification$o = w2;
00021           Watcher w;
00022           while (true)
00023           {
00024                if (edu.ksu.cis.bandera.abstraction.Abstraction.choose())
00025                {
00026                     w = w1;
00027                } else
00028                {
00029                     w = w2;
00030                }
00031                s.addObserver(w);
00032                s.deleteObserver(w);
00033           }
00034      }
00035 }

Generated at Thu Feb 7 06:41:14 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001