The details are passed thru a HashMap which contains the flight attributes and their values.
But the HashMap doesn't guarantee the order of the stored elements.
Why do you need to know the order of the elements? The access to the map values is given using the keys, so your code would look something like this:
String flightNumber = (String)flightAttribMap.get("flightNumber");
int seatsToBook = ((Integer)flightAttribMap.get("seatsToBook")).intValue();
Eugene.