In a small airport, the details of all flights due to arrive on a particular day are held in a collection, FLIGHTS. Each object in the collection contains the following information:
- ID: unique flight number
- PLACE: where the plane is coming from
- DUE: the time it is scheduled to arrive
- EXPECTED: the time it is expected to arrive (only if it is early or if it is delayed)
- ARRIVED: the time of actual arrival.
- EXPECTED and ARRIVED are blank at the beginning of the day and the collection is sorted in order of DUE.
A screen in the airport can display information on 20 planes at a time, which are held in a linked list