/// <summary> /// Delete a tool from member's boroowing tool collection /// </summary> /// <param name="aTool"> a Tool object</param> public void deleteTool(Tool aTool) { numOfBorrowingTools--; toolNames = resizeArray(toolNames); borrowedTools.delete(aTool); }
// logic implemented to delete a tool in the system public void delete(Tool aTool) { Selected_Collection.delete(aTool); }