public void updateBays(){
  Enumeration<Transporter> iter=transports.elements();
  while (iter.hasMoreElements()) {
    Transporter next=iter.nextElement();
    if (next instanceof ASFBay) {
      ASFBay nextBay=(ASFBay)next;
      nextBay.updateSlots();
    }
  }
}

public void updateBays ( ) { Enumeration < Transporter > iter = transports . elements ( ) ; while ( iter . hasMoreElements ( ) ) { Transporter next = iter . nextElement ( ) ; if ( next instanceof ASFBay ) { ASFBay nextBay = ( ASFBay ) next ; nextBay . updateSlots ( ) ; } } }
cycle through and update bays
