Files
G4G0-1/Semester 1/Programming 1/Java/examples/projects/chapter16/taxi-company-outline/Passenger.ctxt
2024-01-15 20:14:10 +00:00

12 lines
622 B
Plaintext
Executable File

#BlueJ class context
comment0.params=pickup\ destination
comment0.target=Passenger(Location,\ Location)
comment0.text=\n\ Constructor\ for\ objects\ of\ class\ Passenger\n\ @param\ pickup\ The\ pickup\ location,\ must\ not\ be\ null.\n\ @param\ destination\ The\ destination\ location,\ must\ not\ be\ null.\n\ @throws\ NullPointerException\ If\ either\ location\ is\ null.\n
comment1.params=
comment1.target=Location\ getPickupLocation()
comment1.text=\n\ @return\ The\ pickup\ location.\n
comment2.params=
comment2.target=Location\ getDestination()
comment2.text=\n\ @return\ The\ destination\ location.\n
numComments=3