4243444546474849505152
} public void addItem(Item item) { Category category = item.getCategory(); _categories.putIfAbsent(category.getId(),category.clone()); _items.putIfAbsent(item.getId(),item.clone()); } public Category getCategory(int categoryId) {