@@ -0,0 +1,828 @@
+package ru.revdaalex.lsp.chapterI.storage;%0A%0Aimport ru.revdaalex.lsp.chapterI.food.Food;%0Aimport ru.revdaalex.lsp.chapterI.interfaces.Storage;%0A%0Aimport java.util.ArrayList;%0A%0A/**%0A * Warehouse class.%0A * Created by revdaalex on 04.07.2016.%0A */%0Apublic class Warehouse implements Storage %7B%0A    /**%0A     * ArrayList Warehouse.%0A     */%0A    private final ArrayList%3CFood%3E warehouse = new ArrayList%3CFood%3E();%0A%0A    /**%0A     * Implements interface method add in Warehouse.%0A     * @param food%0A     */%0A    public void add(Food food) %7B%0A        this.warehouse.add(food);%0A    %7D%0A%0A    /**%0A     * Implements interface method SortQuality in Warehouse.%0A     * @param food%0A     * @return%0A     */%0A    public boolean SortQuality(Food food) %7B%0A        if (food.getExpiryDateInPercents() %3C 25)%7B%0A            return true;%0A        %7D%0A        return false;%0A    %7D%0A%7D%0A

add Warehouse.java