예제 #1
0
 @Override
 public void undo() {
   light.setStatus("off");
 }
예제 #2
0
 @Override
 public void execute() {
   light.setStatus("on");
 }