Skip to content

Task8#6

Open
Riannony wants to merge 4 commits intomasterfrom
task8
Open

Task8#6
Riannony wants to merge 4 commits intomasterfrom
task8

Conversation

@Riannony
Copy link
Copy Markdown

No description provided.

public class IManageSystemImpl implements IManageSystem<Food> {

private Map<Food, Double> database = new HashMap<>();

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Не правильно так хранить данные, ключем в мапе должет быть айди, а значением Food.А цену добавь как поле в Food

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants