order.ctxt

来自「这是一个买卖系统,一个模拟的系统,根据下订单,看订单,买,等功能」· CTXT 代码 · 共 24 行

CTXT
24
字号
#BlueJ class context
comment0.params=bl
comment0.target=String\ asString(SoldBasket)
comment0.text=\nUsed\ for\ debug\ information\n\n\n
comment1.target=int\ uniqueNumber()
comment1.text=\nGenerates\ a\ unique\ order\ number\n@return\ A\ unique\ order\ number\n\n
comment2.params=bought
comment2.target=void\ newOrder(SoldBasket)
comment2.text=\nAdd\ a\ new\ order\ to\ the\ order\ processing\ system\n\n
comment3.target=SoldBasket\ getOrderToPick()
comment3.text=\nReturns\ an\ order\ to\ pick\ from\ the\ warehouse\nif\ no\ order\ then\ returns\ null.\n@return\ An\ order\ to\ pick\ or\ null\ if\ none\n\n
comment4.params=orderNo
comment4.target=String\ informOrderPicked(int)
comment4.text=\nInforms\ the\ order\ processing\ system\ that\ the\ order\ has\ been\npicked\ and\ the\ products\ are\ now\ on\ the\ conveyor\ belt\ to\nthe\ shop\ floor.\n\n
comment5.params=orderNo
comment5.target=String\ informOrderColected(int)
comment5.text=\nInforms\ the\ order\ processing\ system\ that\ the\ order\ has\ been\ncollected\ by\ the\ customer\n\n
comment6.target=String\ getOrderState()
comment6.text=\nReturns\ information\ about\ all\ orders\ in\ the\ order\ processing\ system\nThis\ will\ consist\ of\ two\ pieces\ of\ information\n1>\ A\ list\ of\ orders\ waiting\ to\ be\ processed\n2>\ A\ list\ of\ orders\ that\ can\ now\ be\ collected\n@return\ A\ string\ containing\ information\ about\ the\ state\ of\ the\ system\n\n
comment7.target=String\ getWaitingList()
comment8.target=int\ getWaitingTraySize()
comment9.target=int\ getCollectSize()
numComments=10

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?