示例#1
0
 public void addExit(Exit exit) {
   synchronized (exits) {
     exits.add(exit);
   }
 }
示例#2
0
 public void addClock(TimeClock clock) {
   synchronized (clocks) {
     clocks.add(clock);
   }
 }
示例#3
0
 public void addArea(TickArea tock) {
   synchronized (areas) {
     areas.add(tock);
   }
 }