예제 #1
0
 public FlightRecordBuilder withPassengers(Collection<Passenger> passengers) {
   for (Passenger p : passengers) {
     this.passengers.add(p.getUTI());
   }
   return this;
 }
예제 #2
0
 public FlightRecordBuilder withPassenger(Passenger p) {
   this.passengers.add(p.getUTI());
   return this;
 }
예제 #3
0
 public void addPassengers(Collection<Passenger> passengers) {
   for (Passenger p : passengers) {
     this.passengers.add(p.getUTI());
   }
 }
예제 #4
0
 public void removePassenger(Passenger p) {
   this.passengers.remove(p.getUTI());
 }
예제 #5
0
 public void addPassenger(Passenger p) {
   this.passengers.add(p.getUTI());
 }