basket.ctxt

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

CTXT
16
字号
#BlueJ class context
comment0.params=pr
comment0.target=void\ add(Product)
comment0.text=\nAdds\ a\ product\ to\ the\ Basket\n\n
comment1.target=int\ number()
comment1.text=\nReturns\ the\ number\ of\ products\ in\ the\ basket.\n@return\ number\ of\ products\n\n
comment2.target=Product\ remove()
comment2.text=\n\n\n
comment3.target=void\ clear()
comment3.text=\nClear\ the\ list.\ All\ items\ stored\ are\ removed.\n\n
comment4.target=Product[]\ products()
comment4.text=\nReturns\ an\ array\ of\ the\ held\ products.\n@return\ array\ of\ held\ products\n\n
comment5.target=String\ details()
comment5.text=\nReturns\ a\ string\ containing\ a\ description\ of\ all\ the\ products\ held.\n@return\ string\ description\ of\ products\n\n
numComments=6

⌨️ 快捷键说明

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