|
||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||
| Uses of Flight.Ticket in airline |
|---|
| Fields in airline declared as Flight.Ticket | |
|---|---|
private Flight.Ticket[][] |
Flight.seats
Deprecated. |
private Flight.Ticket[][] |
Reservation.ticket
Two-dimensional array of tickets. |
| Methods in airline that return Flight.Ticket | |
|---|---|
Flight.Ticket |
Reservation.getTicket(int travIndex,
int legIndex)
Returns the ticket for the given traveler on the given leg of the reservation. |
Flight.Ticket |
Flight.purchaseTicket(Reservation resv,
int travelerNumber)
Adds the specified traveler from the given Reservation to this flight. |
| Methods in airline with parameters of type Flight.Ticket | |
|---|---|
protected void |
Reservation.setTicket(int travIndex,
int legIndex,
Flight.Ticket t)
Set entry of the underlying array of tickets. |
|
||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||