@@ -0,0 +1,1087 @@
+package com.javarush.task.task08.task0803;%0A%0Aimport java.util.HashMap;%0Aimport java.util.Map;%0A%0A/* %0A%D0%9A%D0%BE%D0%BB%D0%BB%D0%B5%D0%BA%D1%86%D0%B8%D1%8F HashMap %D0%B8%D0%B7 %D0%BA%D0%BE%D1%82%D0%BE%D0%B2%0A*/%0A%0Apublic class Solution %7B%0A    public static void main(String%5B%5D args) throws Exception %7B%0A        String%5B%5D cats = new String%5B%5D%7B%22%D0%B2%D0%B0%D1%81%D1%8C%D0%BA%D0%B0%22, %22%D0%BC%D1%83%D1%80%D0%BA%D0%B0%22, %22%D0%B4%D1%8B%D0%BC%D0%BA%D0%B0%22, %22%D1%80%D1%8B%D0%B6%D0%B8%D0%BA%22, %22%D1%81%D0%B5%D1%80%D1%8B%D0%B9%22, %22%D1%81%D0%BD%D0%B5%D0%B6%D0%BE%D0%BA%22, %22%D0%B1%D0%BE%D1%81%D1%81%22, %22%D0%B1%D0%BE%D1%80%D0%B8%D1%81%22, %22%D0%B2%D0%B8%D0%B7%D1%8F%22, %22%D0%B3%D0%B0%D1%80%D1%84%D0%B8%22%7D;%0A%0A        HashMap%3CString, Cat%3E map = addCatsToMap(cats);%0A%0A        for (Map.Entry%3CString, Cat%3E pair : map.entrySet()) %7B%0A            System.out.println(pair.getKey() + %22 - %22 + pair.getValue());%0A        %7D%0A    %7D%0A%0A%0A    public static HashMap%3CString, Cat%3E addCatsToMap(String%5B%5D cats) %7B%0A%0A        HashMap%3CString, Cat%3E catHashMap = new HashMap%3C%3E();%0A        for (int i = 0; i %3C cats.length; i++) %7B%0A            catHashMap.put(cats%5Bi%5D, new Cat(cats%5Bi%5D));%0A        %7D%0A        return catHashMap;%0A    %7D%0A%0A%0A    public static class Cat %7B%0A        String name;%0A%0A        public Cat(String name) %7B%0A            this.name = name;%0A        %7D%0A%0A        @Override%0A        public String toString() %7B%0A            return name != null ? name.toUpperCase() : null;%0A        %7D%0A    %7D%0A%7D%0A

Complete task0803