Пример #1
0
 @Override
 public void accept(Visitor<Participant> visitor) {
   for (Participant p : this) {
     visitor.visit(p);
   }
 }
Пример #2
0
 @Override
 public void accept(Visitor<OrthoElement> visitor) {
   for (OrthoElement ele : this) {
     visitor.visit(ele);
   }
 }