{"action":"created","comment":{"url":"https://api.github.com/repos/AnatoliyS/Geometry/pulls/comments/30951700","id":30951700,"diff_hunk":"@@ -0,0 +1,57 @@\n+import java.util.Hashtable;\n+\n+public class DisjointSetUnion {\n+  Hashtable<Object, Object> parentTable;\n+  Hashtable<Object, Integer> rank;\n+  DisjointSetUnion() {\n+    parentTable = new Hashtable<>();\n+    rank = new Hashtable<>();\n+  }\n+\n+  DisjointSetUnion(Iterable array) {\n+    for (Object element : array) {\n+      makeSet(element);\n+    }\n+  }\n+\n+  void makeSet (Object element) {\n+    parentTable.put(element, element);\n+    rank.put(element, 0);\n+  }\n+\n+  Object find(Object element) {","path":"src/DisjointSetUnion.java","position":22,"original_position":22,"commit_id":"32ae6aedccb4e2ade3e233513f9116fa4b4b3b24","original_commit_id":"32ae6aedccb4e2ade3e233513f9116fa4b4b3b24","user":{"login":"MariaPetlovana","id":4974165,"avatar_url":"https://avatars.githubusercontent.com/u/4974165?v=3","gravatar_id":"","url":"https://api.github.com/users/MariaPetlovana","html_url":"https://github.com/MariaPetlovana","followers_url":"https://api.github.com/users/MariaPetlovana/followers","following_url":"https://api.github.com/users/MariaPetlovana/following{/other_user}","gists_url":"https://api.github.com/users/MariaPetlovana/gists{/gist_id}","starred_url":"https://api.github.com/users/MariaPetlovana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MariaPetlovana/subscriptions","organizations_url":"https://api.github.com/users/MariaPetlovana/orgs","repos_url":"https://api.github.com/users/MariaPetlovana/repos","events_url":"https://api.github.com/users/MariaPetlovana/events{/privacy}","received_events_url":"https://api.github.com/users/MariaPetlovana/received_events","type":"User","site_admin":false},"body":"переименуй на findLeader, ибо не понятно find что\r\n@derubioo ","created_at":"2015-05-24T10:46:06Z","updated_at":"2015-05-24T10:46:06Z","html_url":"https://github.com/AnatoliyS/Geometry/pull/9#discussion_r30951700","pull_request_url":"https://api.github.com/repos/AnatoliyS/Geometry/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/AnatoliyS/Geometry/pulls/comments/30951700"},"html":{"href":"https://github.com/AnatoliyS/Geometry/pull/9#discussion_r30951700"},"pull_request":{"href":"https://api.github.com/repos/AnatoliyS/Geometry/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/AnatoliyS/Geometry/pulls/9","id":36092812,"html_url":"https://github.com/AnatoliyS/Geometry/pull/9","diff_url":"https://github.com/AnatoliyS/Geometry/pull/9.diff","patch_url":"https://github.com/AnatoliyS/Geometry/pull/9.patch","issue_url":"https://api.github.com/repos/AnatoliyS/Geometry/issues/9","number":9,"state":"open","locked":false,"title":"Algo","user":{"login":"derubioo","id":4136014,"avatar_url":"https://avatars.githubusercontent.com/u/4136014?v=3","gravatar_id":"","url":"https://api.github.com/users/derubioo","html_url":"https://github.com/derubioo","followers_url":"https://api.github.com/users/derubioo/followers","following_url":"https://api.github.com/users/derubioo/following{/other_user}","gists_url":"https://api.github.com/users/derubioo/gists{/gist_id}","starred_url":"https://api.github.com/users/derubioo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derubioo/subscriptions","organizations_url":"https://api.github.com/users/derubioo/orgs","repos_url":"https://api.github.com/users/derubioo/repos","events_url":"https://api.github.com/users/derubioo/events{/privacy}","received_events_url":"https://api.github.com/users/derubioo/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-23T20:00:14Z","updated_at":"2015-05-24T10:46:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ef2b5f09d4de02e86b8dce0fcd3f65ea5713e247","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AnatoliyS/Geometry/pulls/9/commits","review_comments_url":"https://api.github.com/repos/AnatoliyS/Geometry/pulls/9/comments","review_comment_url":"https://api.github.com/repos/AnatoliyS/Geometry/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AnatoliyS/Geometry/issues/9/comments","statuses_url":"https://api.github.com/repos/AnatoliyS/Geometry/statuses/32ae6aedccb4e2ade3e233513f9116fa4b4b3b24","head":{"label":"derubioo:Algo","ref":"Algo","sha":"32ae6aedccb4e2ade3e233513f9116fa4b4b3b24","user":{"login":"derubioo","id":4136014,"avatar_url":"https://avatars.githubusercontent.com/u/4136014?v=3","gravatar_id":"","url":"https://api.github.com/users/derubioo","html_url":"https://github.com/derubioo","followers_url":"https://api.github.com/users/derubioo/followers","following_url":"https://api.github.com/users/derubioo/following{/other_user}","gists_url":"https://api.github.com/users/derubioo/gists{/gist_id}","starred_url":"https://api.github.com/users/derubioo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derubioo/subscriptions","organizations_url":"https://api.github.com/users/derubioo/orgs","repos_url":"https://api.github.com/users/derubioo/repos","events_url":"https://api.github.com/users/derubioo/events{/privacy}","received_events_url":"https://api.github.com/users/derubioo/received_events","type":"User","site_admin":false},"repo":{"id":33448955,"name":"Geometry","full_name":"derubioo/Geometry","owner":{"login":"derubioo","id":4136014,"avatar_url":"https://avatars.githubusercontent.com/u/4136014?v=3","gravatar_id":"","url":"https://api.github.com/users/derubioo","html_url":"https://github.com/derubioo","followers_url":"https://api.github.com/users/derubioo/followers","following_url":"https://api.github.com/users/derubioo/following{/other_user}","gists_url":"https://api.github.com/users/derubioo/gists{/gist_id}","starred_url":"https://api.github.com/users/derubioo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derubioo/subscriptions","organizations_url":"https://api.github.com/users/derubioo/orgs","repos_url":"https://api.github.com/users/derubioo/repos","events_url":"https://api.github.com/users/derubioo/events{/privacy}","received_events_url":"https://api.github.com/users/derubioo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/derubioo/Geometry","description":"Environment for geomety algorithms","fork":true,"url":"https://api.github.com/repos/derubioo/Geometry","forks_url":"https://api.github.com/repos/derubioo/Geometry/forks","keys_url":"https://api.github.com/repos/derubioo/Geometry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/derubioo/Geometry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/derubioo/Geometry/teams","hooks_url":"https://api.github.com/repos/derubioo/Geometry/hooks","issue_events_url":"https://api.github.com/repos/derubioo/Geometry/issues/events{/number}","events_url":"https://api.github.com/repos/derubioo/Geometry/events","assignees_url":"https://api.github.com/repos/derubioo/Geometry/assignees{/user}","branches_url":"https://api.github.com/repos/derubioo/Geometry/branches{/branch}","tags_url":"https://api.github.com/repos/derubioo/Geometry/tags","blobs_url":"https://api.github.com/repos/derubioo/Geometry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/derubioo/Geometry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/derubioo/Geometry/git/refs{/sha}","trees_url":"https://api.github.com/repos/derubioo/Geometry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/derubioo/Geometry/statuses/{sha}","languages_url":"https://api.github.com/repos/derubioo/Geometry/languages","stargazers_url":"https://api.github.com/repos/derubioo/Geometry/stargazers","contributors_url":"https://api.github.com/repos/derubioo/Geometry/contributors","subscribers_url":"https://api.github.com/repos/derubioo/Geometry/subscribers","subscription_url":"https://api.github.com/repos/derubioo/Geometry/subscription","commits_url":"https://api.github.com/repos/derubioo/Geometry/commits{/sha}","git_commits_url":"https://api.github.com/repos/derubioo/Geometry/git/commits{/sha}","comments_url":"https://api.github.com/repos/derubioo/Geometry/comments{/number}","issue_comment_url":"https://api.github.com/repos/derubioo/Geometry/issues/comments{/number}","contents_url":"https://api.github.com/repos/derubioo/Geometry/contents/{+path}","compare_url":"https://api.github.com/repos/derubioo/Geometry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/derubioo/Geometry/merges","archive_url":"https://api.github.com/repos/derubioo/Geometry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/derubioo/Geometry/downloads","issues_url":"https://api.github.com/repos/derubioo/Geometry/issues{/number}","pulls_url":"https://api.github.com/repos/derubioo/Geometry/pulls{/number}","milestones_url":"https://api.github.com/repos/derubioo/Geometry/milestones{/number}","notifications_url":"https://api.github.com/repos/derubioo/Geometry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/derubioo/Geometry/labels{/name}","releases_url":"https://api.github.com/repos/derubioo/Geometry/releases{/id}","created_at":"2015-04-05T17:30:40Z","updated_at":"2015-04-05T17:30:40Z","pushed_at":"2015-05-24T09:05:45Z","git_url":"git://github.com/derubioo/Geometry.git","ssh_url":"git@github.com:derubioo/Geometry.git","clone_url":"https://github.com/derubioo/Geometry.git","svn_url":"https://github.com/derubioo/Geometry","homepage":"","size":229,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"common_functional"}},"base":{"label":"AnatoliyS:master","ref":"master","sha":"fc3f1fda28431ced69443076028ba8aa033f4816","user":{"login":"AnatoliyS","id":4070419,"avatar_url":"https://avatars.githubusercontent.com/u/4070419?v=3","gravatar_id":"","url":"https://api.github.com/users/AnatoliyS","html_url":"https://github.com/AnatoliyS","followers_url":"https://api.github.com/users/AnatoliyS/followers","following_url":"https://api.github.com/users/AnatoliyS/following{/other_user}","gists_url":"https://api.github.com/users/AnatoliyS/gists{/gist_id}","starred_url":"https://api.github.com/users/AnatoliyS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnatoliyS/subscriptions","organizations_url":"https://api.github.com/users/AnatoliyS/orgs","repos_url":"https://api.github.com/users/AnatoliyS/repos","events_url":"https://api.github.com/users/AnatoliyS/events{/privacy}","received_events_url":"https://api.github.com/users/AnatoliyS/received_events","type":"User","site_admin":false},"repo":{"id":33249539,"name":"Geometry","full_name":"AnatoliyS/Geometry","owner":{"login":"AnatoliyS","id":4070419,"avatar_url":"https://avatars.githubusercontent.com/u/4070419?v=3","gravatar_id":"","url":"https://api.github.com/users/AnatoliyS","html_url":"https://github.com/AnatoliyS","followers_url":"https://api.github.com/users/AnatoliyS/followers","following_url":"https://api.github.com/users/AnatoliyS/following{/other_user}","gists_url":"https://api.github.com/users/AnatoliyS/gists{/gist_id}","starred_url":"https://api.github.com/users/AnatoliyS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnatoliyS/subscriptions","organizations_url":"https://api.github.com/users/AnatoliyS/orgs","repos_url":"https://api.github.com/users/AnatoliyS/repos","events_url":"https://api.github.com/users/AnatoliyS/events{/privacy}","received_events_url":"https://api.github.com/users/AnatoliyS/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AnatoliyS/Geometry","description":"Environment for geomety algorithms","fork":false,"url":"https://api.github.com/repos/AnatoliyS/Geometry","forks_url":"https://api.github.com/repos/AnatoliyS/Geometry/forks","keys_url":"https://api.github.com/repos/AnatoliyS/Geometry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AnatoliyS/Geometry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AnatoliyS/Geometry/teams","hooks_url":"https://api.github.com/repos/AnatoliyS/Geometry/hooks","issue_events_url":"https://api.github.com/repos/AnatoliyS/Geometry/issues/events{/number}","events_url":"https://api.github.com/repos/AnatoliyS/Geometry/events","assignees_url":"https://api.github.com/repos/AnatoliyS/Geometry/assignees{/user}","branches_url":"https://api.github.com/repos/AnatoliyS/Geometry/branches{/branch}","tags_url":"https://api.github.com/repos/AnatoliyS/Geometry/tags","blobs_url":"https://api.github.com/repos/AnatoliyS/Geometry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AnatoliyS/Geometry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AnatoliyS/Geometry/git/refs{/sha}","trees_url":"https://api.github.com/repos/AnatoliyS/Geometry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AnatoliyS/Geometry/statuses/{sha}","languages_url":"https://api.github.com/repos/AnatoliyS/Geometry/languages","stargazers_url":"https://api.github.com/repos/AnatoliyS/Geometry/stargazers","contributors_url":"https://api.github.com/repos/AnatoliyS/Geometry/contributors","subscribers_url":"https://api.github.com/repos/AnatoliyS/Geometry/subscribers","subscription_url":"https://api.github.com/repos/AnatoliyS/Geometry/subscription","commits_url":"https://api.github.com/repos/AnatoliyS/Geometry/commits{/sha}","git_commits_url":"https://api.github.com/repos/AnatoliyS/Geometry/git/commits{/sha}","comments_url":"https://api.github.com/repos/AnatoliyS/Geometry/comments{/number}","issue_comment_url":"https://api.github.com/repos/AnatoliyS/Geometry/issues/comments{/number}","contents_url":"https://api.github.com/repos/AnatoliyS/Geometry/contents/{+path}","compare_url":"https://api.github.com/repos/AnatoliyS/Geometry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AnatoliyS/Geometry/merges","archive_url":"https://api.github.com/repos/AnatoliyS/Geometry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AnatoliyS/Geometry/downloads","issues_url":"https://api.github.com/repos/AnatoliyS/Geometry/issues{/number}","pulls_url":"https://api.github.com/repos/AnatoliyS/Geometry/pulls{/number}","milestones_url":"https://api.github.com/repos/AnatoliyS/Geometry/milestones{/number}","notifications_url":"https://api.github.com/repos/AnatoliyS/Geometry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AnatoliyS/Geometry/labels{/name}","releases_url":"https://api.github.com/repos/AnatoliyS/Geometry/releases{/id}","created_at":"2015-04-01T13:37:11Z","updated_at":"2015-05-05T19:53:14Z","pushed_at":"2015-05-24T09:05:46Z","git_url":"git://github.com/AnatoliyS/Geometry.git","ssh_url":"git@github.com:AnatoliyS/Geometry.git","clone_url":"https://github.com/AnatoliyS/Geometry.git","svn_url":"https://github.com/AnatoliyS/Geometry","homepage":"","size":432,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AnatoliyS/Geometry/pulls/9"},"html":{"href":"https://github.com/AnatoliyS/Geometry/pull/9"},"issue":{"href":"https://api.github.com/repos/AnatoliyS/Geometry/issues/9"},"comments":{"href":"https://api.github.com/repos/AnatoliyS/Geometry/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/AnatoliyS/Geometry/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/AnatoliyS/Geometry/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AnatoliyS/Geometry/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/AnatoliyS/Geometry/statuses/32ae6aedccb4e2ade3e233513f9116fa4b4b3b24"}}}}