414243444546474849
return items; } public void addItem(Item item) { Category category = item.getCategory(); _categories.putIfAbsent(category.getId(),category.clone()); _items.putIfAbsent(item.getId(),item.clone()); }