Exemple #1
0
 public ColleagueA(Mediator m) {
   med = m;
   med.Register(this, type);
 }
Exemple #2
0
 public void Change() {
   System.out.println("-----  A changed now !  -----");
   med.Changed(type);
 }