{"action":"closed","issue":{"url":"https://api.github.com/repos/gsvk2734tp/Dmitr/issues/31","repository_url":"https://api.github.com/repos/gsvk2734tp/Dmitr","labels_url":"https://api.github.com/repos/gsvk2734tp/Dmitr/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/gsvk2734tp/Dmitr/issues/31/comments","events_url":"https://api.github.com/repos/gsvk2734tp/Dmitr/issues/31/events","html_url":"https://github.com/gsvk2734tp/Dmitr/issues/31","id":233526884,"number":31,"title":"Задача с Set и классом Cat.","user":{"login":"gsvk2734tp","id":28671958,"avatar_url":"https://avatars3.githubusercontent.com/u/28671958?v=4","gravatar_id":"","url":"https://api.github.com/users/gsvk2734tp","html_url":"https://github.com/gsvk2734tp","followers_url":"https://api.github.com/users/gsvk2734tp/followers","following_url":"https://api.github.com/users/gsvk2734tp/following{/other_user}","gists_url":"https://api.github.com/users/gsvk2734tp/gists{/gist_id}","starred_url":"https://api.github.com/users/gsvk2734tp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsvk2734tp/subscriptions","organizations_url":"https://api.github.com/users/gsvk2734tp/orgs","repos_url":"https://api.github.com/users/gsvk2734tp/repos","events_url":"https://api.github.com/users/gsvk2734tp/events{/privacy}","received_events_url":"https://api.github.com/users/gsvk2734tp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-05T08:37:46Z","updated_at":"2018-03-26T09:48:13Z","closed_at":"2018-03-26T09:48:13Z","author_association":"OWNER","body":"public class Solution {\r\n    public static void main(String[] args) {\r\n        Set<Cat> cats = createCats();\r\n        cats.remove(new Cat());\r\n\r\n        printCats(cats);\r\n    }\r\n\r\n    public static Set<Cat> createCats() {\r\n            Set cats = new HashSet();\r\n            cats.add(new Cat());\r\n            cats.add(new Cat());\r\n            cats.add(new Cat());\r\n            return cats; }\r\n\r\n    public static void printCats(Set<Cat> cats) {\r\n        for (Cat cat : cats)\r\n        {\r\n            System.out.println(cat);\r\n        }\r\n    }\r\n\r\n    public static class Cat{\r\n\r\n    }\r\n}"}}
{"actor":{"display_login":"gsvk2734tp"}}