{"action":"created","comment":{"url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/pulls/comments/294823916","pull_request_review_id":251099243,"id":294823916,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI5NDgyMzkxNg==","diff_hunk":"@@ -1 +1,157 @@\n+package com.company.newMap;\n+\n+import java.util.Arrays;\n+import java.util.NoSuchElementException;\n+import java.util.Objects;\n+\n+public class MyHashMap<K, V> implements HashMap<K, V> {\n+\n+    private static final int DEFAULT_CAPACITY = 16;\n+    private static final float LOAD_FACTOR = 0.75f;\n+    private Node<K, V>[] nodes;\n+    private int countOfElem;\n+\n+    @Override\n+    public void put(K key, V value) {\n+        if (isEmpty()) {\n+            nodes = new Node[DEFAULT_CAPACITY];\n+        }\n+        int index = indexFor(key, nodes.length);\n+        while (countOfElem >= nodes.length * LOAD_FACTOR) {","path":"MyHashMap.java","position":20,"original_position":20,"commit_id":"17d5140935197fdf074dab07ed3dc59d77da73ad","original_commit_id":"17d5140935197fdf074dab07ed3dc59d77da73ad","user":{"login":"AleksandraPonochovna","id":47608387,"node_id":"MDQ6VXNlcjQ3NjA4Mzg3","avatar_url":"https://avatars2.githubusercontent.com/u/47608387?v=4","gravatar_id":"","url":"https://api.github.com/users/AleksandraPonochovna","html_url":"https://github.com/AleksandraPonochovna","followers_url":"https://api.github.com/users/AleksandraPonochovna/followers","following_url":"https://api.github.com/users/AleksandraPonochovna/following{/other_user}","gists_url":"https://api.github.com/users/AleksandraPonochovna/gists{/gist_id}","starred_url":"https://api.github.com/users/AleksandraPonochovna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AleksandraPonochovna/subscriptions","organizations_url":"https://api.github.com/users/AleksandraPonochovna/orgs","repos_url":"https://api.github.com/users/AleksandraPonochovna/repos","events_url":"https://api.github.com/users/AleksandraPonochovna/events{/privacy}","received_events_url":"https://api.github.com/users/AleksandraPonochovna/received_events","type":"User","site_admin":false},"body":"Ok","created_at":"2019-06-18T13:34:00Z","updated_at":"2019-06-18T13:34:01Z","html_url":"https://github.com/AleksandraPonochovna/HashMap-Realization-/pull/1#discussion_r294823916","pull_request_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/pulls/1","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/pulls/comments/294823916"},"html":{"href":"https://github.com/AleksandraPonochovna/HashMap-Realization-/pull/1#discussion_r294823916"},"pull_request":{"href":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/pulls/1"}},"in_reply_to_id":294804649},"pull_request":{"url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/pulls/1","id":288642893,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjg4NjQyODkz","html_url":"https://github.com/AleksandraPonochovna/HashMap-Realization-/pull/1","diff_url":"https://github.com/AleksandraPonochovna/HashMap-Realization-/pull/1.diff","patch_url":"https://github.com/AleksandraPonochovna/HashMap-Realization-/pull/1.patch","issue_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/issues/1","number":1,"state":"open","locked":false,"title":"HASH MAP ","user":{"login":"AleksandraPonochovna","id":47608387,"node_id":"MDQ6VXNlcjQ3NjA4Mzg3","avatar_url":"https://avatars2.githubusercontent.com/u/47608387?v=4","gravatar_id":"","url":"https://api.github.com/users/AleksandraPonochovna","html_url":"https://github.com/AleksandraPonochovna","followers_url":"https://api.github.com/users/AleksandraPonochovna/followers","following_url":"https://api.github.com/users/AleksandraPonochovna/following{/other_user}","gists_url":"https://api.github.com/users/AleksandraPonochovna/gists{/gist_id}","starred_url":"https://api.github.com/users/AleksandraPonochovna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AleksandraPonochovna/subscriptions","organizations_url":"https://api.github.com/users/AleksandraPonochovna/orgs","repos_url":"https://api.github.com/users/AleksandraPonochovna/repos","events_url":"https://api.github.com/users/AleksandraPonochovna/events{/privacy}","received_events_url":"https://api.github.com/users/AleksandraPonochovna/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-06-16T18:30:35Z","updated_at":"2019-06-18T13:34:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"945423ba30fc7ff669d7c7beb7280b25a5e48e1b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/pulls/1/commits","review_comments_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/pulls/1/comments","review_comment_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/issues/1/comments","statuses_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/statuses/17d5140935197fdf074dab07ed3dc59d77da73ad","head":{"label":"AleksandraPonochovna:for-TA","ref":"for-TA","sha":"17d5140935197fdf074dab07ed3dc59d77da73ad","user":{"login":"AleksandraPonochovna","id":47608387,"node_id":"MDQ6VXNlcjQ3NjA4Mzg3","avatar_url":"https://avatars2.githubusercontent.com/u/47608387?v=4","gravatar_id":"","url":"https://api.github.com/users/AleksandraPonochovna","html_url":"https://github.com/AleksandraPonochovna","followers_url":"https://api.github.com/users/AleksandraPonochovna/followers","following_url":"https://api.github.com/users/AleksandraPonochovna/following{/other_user}","gists_url":"https://api.github.com/users/AleksandraPonochovna/gists{/gist_id}","starred_url":"https://api.github.com/users/AleksandraPonochovna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AleksandraPonochovna/subscriptions","organizations_url":"https://api.github.com/users/AleksandraPonochovna/orgs","repos_url":"https://api.github.com/users/AleksandraPonochovna/repos","events_url":"https://api.github.com/users/AleksandraPonochovna/events{/privacy}","received_events_url":"https://api.github.com/users/AleksandraPonochovna/received_events","type":"User","site_admin":false},"repo":{"id":192223845,"node_id":"MDEwOlJlcG9zaXRvcnkxOTIyMjM4NDU=","name":"HashMap-Realization-","full_name":"AleksandraPonochovna/HashMap-Realization-","private":false,"owner":{"login":"AleksandraPonochovna","id":47608387,"node_id":"MDQ6VXNlcjQ3NjA4Mzg3","avatar_url":"https://avatars2.githubusercontent.com/u/47608387?v=4","gravatar_id":"","url":"https://api.github.com/users/AleksandraPonochovna","html_url":"https://github.com/AleksandraPonochovna","followers_url":"https://api.github.com/users/AleksandraPonochovna/followers","following_url":"https://api.github.com/users/AleksandraPonochovna/following{/other_user}","gists_url":"https://api.github.com/users/AleksandraPonochovna/gists{/gist_id}","starred_url":"https://api.github.com/users/AleksandraPonochovna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AleksandraPonochovna/subscriptions","organizations_url":"https://api.github.com/users/AleksandraPonochovna/orgs","repos_url":"https://api.github.com/users/AleksandraPonochovna/repos","events_url":"https://api.github.com/users/AleksandraPonochovna/events{/privacy}","received_events_url":"https://api.github.com/users/AleksandraPonochovna/received_events","type":"User","site_admin":false},"html_url":"https://github.com/AleksandraPonochovna/HashMap-Realization-","description":null,"fork":false,"url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-","forks_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/forks","keys_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/teams","hooks_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/hooks","issue_events_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/issues/events{/number}","events_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/events","assignees_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/assignees{/user}","branches_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/branches{/branch}","tags_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/tags","blobs_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/git/refs{/sha}","trees_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/statuses/{sha}","languages_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/languages","stargazers_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/stargazers","contributors_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/contributors","subscribers_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/subscribers","subscription_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/subscription","commits_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/commits{/sha}","git_commits_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/git/commits{/sha}","comments_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/comments{/number}","issue_comment_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/issues/comments{/number}","contents_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/contents/{+path}","compare_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/merges","archive_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/downloads","issues_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/issues{/number}","pulls_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/pulls{/number}","milestones_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/milestones{/number}","notifications_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/labels{/name}","releases_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/releases{/id}","deployments_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/deployments","created_at":"2019-06-16T18:28:40Z","updated_at":"2019-06-16T18:29:12Z","pushed_at":"2019-06-16T18:30:35Z","git_url":"git://github.com/AleksandraPonochovna/HashMap-Realization-.git","ssh_url":"git@github.com:AleksandraPonochovna/HashMap-Realization-.git","clone_url":"https://github.com/AleksandraPonochovna/HashMap-Realization-.git","svn_url":"https://github.com/AleksandraPonochovna/HashMap-Realization-","homepage":null,"size":5,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"AleksandraPonochovna:master","ref":"master","sha":"46551a9801cbd96780402032a07a954edfa0bd76","user":{"login":"AleksandraPonochovna","id":47608387,"node_id":"MDQ6VXNlcjQ3NjA4Mzg3","avatar_url":"https://avatars2.githubusercontent.com/u/47608387?v=4","gravatar_id":"","url":"https://api.github.com/users/AleksandraPonochovna","html_url":"https://github.com/AleksandraPonochovna","followers_url":"https://api.github.com/users/AleksandraPonochovna/followers","following_url":"https://api.github.com/users/AleksandraPonochovna/following{/other_user}","gists_url":"https://api.github.com/users/AleksandraPonochovna/gists{/gist_id}","starred_url":"https://api.github.com/users/AleksandraPonochovna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AleksandraPonochovna/subscriptions","organizations_url":"https://api.github.com/users/AleksandraPonochovna/orgs","repos_url":"https://api.github.com/users/AleksandraPonochovna/repos","events_url":"https://api.github.com/users/AleksandraPonochovna/events{/privacy}","received_events_url":"https://api.github.com/users/AleksandraPonochovna/received_events","type":"User","site_admin":false},"repo":{"id":192223845,"node_id":"MDEwOlJlcG9zaXRvcnkxOTIyMjM4NDU=","name":"HashMap-Realization-","full_name":"AleksandraPonochovna/HashMap-Realization-","private":false,"owner":{"login":"AleksandraPonochovna","id":47608387,"node_id":"MDQ6VXNlcjQ3NjA4Mzg3","avatar_url":"https://avatars2.githubusercontent.com/u/47608387?v=4","gravatar_id":"","url":"https://api.github.com/users/AleksandraPonochovna","html_url":"https://github.com/AleksandraPonochovna","followers_url":"https://api.github.com/users/AleksandraPonochovna/followers","following_url":"https://api.github.com/users/AleksandraPonochovna/following{/other_user}","gists_url":"https://api.github.com/users/AleksandraPonochovna/gists{/gist_id}","starred_url":"https://api.github.com/users/AleksandraPonochovna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AleksandraPonochovna/subscriptions","organizations_url":"https://api.github.com/users/AleksandraPonochovna/orgs","repos_url":"https://api.github.com/users/AleksandraPonochovna/repos","events_url":"https://api.github.com/users/AleksandraPonochovna/events{/privacy}","received_events_url":"https://api.github.com/users/AleksandraPonochovna/received_events","type":"User","site_admin":false},"html_url":"https://github.com/AleksandraPonochovna/HashMap-Realization-","description":null,"fork":false,"url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-","forks_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/forks","keys_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/teams","hooks_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/hooks","issue_events_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/issues/events{/number}","events_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/events","assignees_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/assignees{/user}","branches_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/branches{/branch}","tags_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/tags","blobs_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/git/refs{/sha}","trees_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/statuses/{sha}","languages_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/languages","stargazers_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/stargazers","contributors_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/contributors","subscribers_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/subscribers","subscription_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/subscription","commits_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/commits{/sha}","git_commits_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/git/commits{/sha}","comments_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/comments{/number}","issue_comment_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/issues/comments{/number}","contents_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/contents/{+path}","compare_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/merges","archive_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/downloads","issues_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/issues{/number}","pulls_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/pulls{/number}","milestones_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/milestones{/number}","notifications_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/labels{/name}","releases_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/releases{/id}","deployments_url":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/deployments","created_at":"2019-06-16T18:28:40Z","updated_at":"2019-06-16T18:29:12Z","pushed_at":"2019-06-16T18:30:35Z","git_url":"git://github.com/AleksandraPonochovna/HashMap-Realization-.git","ssh_url":"git@github.com:AleksandraPonochovna/HashMap-Realization-.git","clone_url":"https://github.com/AleksandraPonochovna/HashMap-Realization-.git","svn_url":"https://github.com/AleksandraPonochovna/HashMap-Realization-","homepage":null,"size":5,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/pulls/1"},"html":{"href":"https://github.com/AleksandraPonochovna/HashMap-Realization-/pull/1"},"issue":{"href":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/issues/1"},"comments":{"href":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/AleksandraPonochovna/HashMap-Realization-/statuses/17d5140935197fdf074dab07ed3dc59d77da73ad"}},"author_association":"OWNER"}}
{"actor":{"display_login":"AleksandraPonochovna"}}