39 lines
2.4 KiB
Plaintext
Executable File
39 lines
2.4 KiB
Plaintext
Executable File
#BlueJ class context
|
|
comment0.params=company\ location
|
|
comment0.target=Vehicle(TaxiCompany,\ Location)
|
|
comment0.text=\n\ Constructor\ of\ class\ Vehicle\n\ @param\ company\ The\ taxi\ company.\ Must\ not\ be\ null.\n\ @param\ location\ The\ vehicle's\ starting\ point.\ Must\ not\ be\ null.\n\ @throws\ NullPointerException\ If\ company\ or\ location\ is\ null.\n
|
|
comment1.params=
|
|
comment1.target=void\ notifyPickupArrival()
|
|
comment1.text=\n\ Notify\ the\ company\ of\ our\ arrival\ at\ a\ pickup\ location.\n
|
|
comment10.params=location
|
|
comment10.target=void\ setTargetLocation(Location)
|
|
comment10.text=\n\ Set\ the\ required\ target\ location.\n\ @param\ location\ Where\ to\ go.\ Must\ not\ be\ null.\n\ @throws\ NullPointerException\ If\ location\ is\ null.\n
|
|
comment11.params=
|
|
comment11.target=void\ clearTargetLocation()
|
|
comment11.text=\n\ Clear\ the\ target\ location.\n
|
|
comment2.params=passenger
|
|
comment2.target=void\ notifyPassengerArrival(Passenger)
|
|
comment2.text=\n\ Notify\ the\ company\ of\ our\ arrival\ at\ a\n\ passenger's\ destination.\n\ @param\ passenger\ The\ passenger\ who\ has\ arrived.\n
|
|
comment3.params=location
|
|
comment3.target=void\ setPickupLocation(Location)
|
|
comment3.text=\n\ Receive\ a\ pickup\ location.\n\ How\ this\ is\ handled\ depends\ on\ the\ type\ of\ vehicle.\n\ @param\ location\ The\ pickup\ location.\n
|
|
comment4.params=passenger
|
|
comment4.target=void\ pickup(Passenger)
|
|
comment4.text=\n\ Receive\ a\ passenger.\n\ How\ this\ is\ handled\ depends\ on\ the\ type\ of\ vehicle.\n\ @param\ passenger\ The\ passenger\ being\ picked\ up.\n
|
|
comment5.params=
|
|
comment5.target=boolean\ isFree()
|
|
comment5.text=\n\ Is\ the\ vehicle\ free?\n\ @return\ Whether\ or\ not\ this\ vehicle\ is\ free.\n
|
|
comment6.params=
|
|
comment6.target=void\ offloadPassenger()
|
|
comment6.text=\n\ Offload\ any\ passengers\ whose\ destination\ is\ the\n\ current\ location.\n
|
|
comment7.params=
|
|
comment7.target=Location\ getLocation()
|
|
comment7.text=\n\ Get\ the\ location.\n\ @return\ Where\ this\ vehicle\ is\ currently\ located.\n
|
|
comment8.params=location
|
|
comment8.target=void\ setLocation(Location)
|
|
comment8.text=\n\ Set\ the\ current\ location.\n\ @param\ location\ Where\ it\ is.\ Must\ not\ be\ null.\n\ @throws\ NullPointerException\ If\ location\ is\ null.\n
|
|
comment9.params=
|
|
comment9.target=Location\ getTargetLocation()
|
|
comment9.text=\n\ Get\ the\ target\ location.\n\ @return\ Where\ this\ vehicle\ is\ currently\ headed,\ or\ null\n\ \ \ \ \ \ \ \ \ if\ it\ is\ idle.\n
|
|
numComments=12
|