Exemplo n.º 1
0
 // last two methods are for debugging currently. may or may not be in the final version
 public String getTakeoffList() {
   String str = "[";
   for (int i = 0; i < to.getSize(); i++) {
     str += to.getAircraft(i).toString() + to.getAircraft(i).getNumber() + ", ";
   }
   str += "]";
   return str;
 }
Exemplo n.º 2
0
 public String getLandingList() {
   String str = "[";
   for (int i = 0; i < ln.getSize(); i++) {
     str += ln.getAircraft(i).toString() + ln.getAircraft(i).getNumber() + ", ";
   }
   str += "]";
   return str;
 }