@@ -0,0 +1,886 @@
+package com.javarush.task.task33.task3310.strategy;%0A%0Aimport java.util.HashMap;%0Aimport java.util.Map;%0A%0A/**%0A * Created by Alexey Vedensky on 15.04.2017.%0A * MAIL: avedensky@gmail.com%0A */%0Apublic class HashMapStorageStrategy implements StorageStrategy %7B%0A    private HashMap%3CLong, String%3E data;%0A%0A    @Override%0A    public boolean containsKey(Long key) %7B%0A        return data.containsKey(key);%0A    %7D%0A%0A    @Override%0A    public boolean containsValue(String value) %7B%0A        return data.containsValue(value);%0A    %7D%0A%0A    @Override%0A    public void put(Long key, String value) %7B%0A        data.put(key, value);%0A    %7D%0A%0A    @Override%0A    public Long getKey(String value) %7B%0A        for (Long key : data.keySet())%0A            if (data.get(key).equals(value))%0A                return key;%0A%0A        return null;%0A    %7D%0A%0A    @Override%0A    public String getValue(Long key) %7B%0A        return data.get(key);%0A    %7D%0A%7D%0A

Task 3310 (5) has done