Package br.unicamp.ic.example.subject

Examples of br.unicamp.ic.example.subject.Subject


import br.unicamp.ic.example.observer.Observer2;
import br.unicamp.ic.example.subject.Subject;

public class Main {
  public static void main(String args[]) {
    Subject s = new Subject();
    Observer1 o1 = new Observer1(s);
    Observer2 o2 = new Observer2(s);
   
    s.change_state();
  }
View Full Code Here

TOP

Related Classes of br.unicamp.ic.example.subject.Subject

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.