{"action":"created","comment":{"url":"https://api.github.com/repos/Qunya/TutorJava/pulls/comments/139430811","pull_request_review_id":63360942,"id":139430811,"diff_hunk":"@@ -0,0 +1,116 @@\n+package Linkedlist;\n+\n+public class Linkedlist {\n+    private Node head;\n+    private Node tail;\n+\n+    public void printLinkedList(){\n+        Node n = head;\n+        if(n==null){\n+            System.out.println(\"List is empty\");\n+            return;\n+        }\n+        while(n!=null){\n+            System.out.print(n.index+\" \");\n+            n = n.nextN;\n+        }\n+        System.out.println(\"\");\n+    }\n+\n+    public void addHead(int element){\n+        Node n = new Node();\n+        n.index = element;\n+        if(head==null){\n+            head = n;\n+            tail = n;\n+        } else {\n+            n.nextN = head;\n+            head = n;\n+        }\n+    }\n+\n+    public void addTail(int element){\n+        Node n = new Node();\n+        n.index = element;\n+        if(tail==null){\n+            head = n;\n+            tail = n;\n+        } else {\n+            tail.nextN = n;\n+            tail = n;\n+        }\n+    }\n+","path":"Linkedlist/Linkedlist.java","position":43,"original_position":43,"commit_id":"1bd70907b88f592079f5f849408b521c75a75065","original_commit_id":"1bd70907b88f592079f5f849408b521c75a75065","user":{"login":"KozlovDanila","id":22355714,"avatar_url":"https://avatars1.githubusercontent.com/u/22355714?v=4","gravatar_id":"","url":"https://api.github.com/users/KozlovDanila","html_url":"https://github.com/KozlovDanila","followers_url":"https://api.github.com/users/KozlovDanila/followers","following_url":"https://api.github.com/users/KozlovDanila/following{/other_user}","gists_url":"https://api.github.com/users/KozlovDanila/gists{/gist_id}","starred_url":"https://api.github.com/users/KozlovDanila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KozlovDanila/subscriptions","organizations_url":"https://api.github.com/users/KozlovDanila/orgs","repos_url":"https://api.github.com/users/KozlovDanila/repos","events_url":"https://api.github.com/users/KozlovDanila/events{/privacy}","received_events_url":"https://api.github.com/users/KozlovDanila/received_events","type":"User","site_admin":false},"body":"добавление в начало и в конец - одинаковые методы. \r\nДобавление - это один метод. \r\nИ я тебе говорил, не нужно добавлять куда угодно, достаточно лишь в конец.","created_at":"2017-09-18T14:01:57Z","updated_at":"2017-09-18T14:01:57Z","html_url":"https://github.com/Qunya/TutorJava/pull/1#discussion_r139430811","pull_request_url":"https://api.github.com/repos/Qunya/TutorJava/pulls/1","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Qunya/TutorJava/pulls/comments/139430811"},"html":{"href":"https://github.com/Qunya/TutorJava/pull/1#discussion_r139430811"},"pull_request":{"href":"https://api.github.com/repos/Qunya/TutorJava/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Qunya/TutorJava/pulls/1","id":141580660,"html_url":"https://github.com/Qunya/TutorJava/pull/1","diff_url":"https://github.com/Qunya/TutorJava/pull/1.diff","patch_url":"https://github.com/Qunya/TutorJava/pull/1.patch","issue_url":"https://api.github.com/repos/Qunya/TutorJava/issues/1","number":1,"state":"open","locked":false,"title":"Добавление Java проекта","user":{"login":"Qunya","id":25932512,"avatar_url":"https://avatars1.githubusercontent.com/u/25932512?v=4","gravatar_id":"","url":"https://api.github.com/users/Qunya","html_url":"https://github.com/Qunya","followers_url":"https://api.github.com/users/Qunya/followers","following_url":"https://api.github.com/users/Qunya/following{/other_user}","gists_url":"https://api.github.com/users/Qunya/gists{/gist_id}","starred_url":"https://api.github.com/users/Qunya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Qunya/subscriptions","organizations_url":"https://api.github.com/users/Qunya/orgs","repos_url":"https://api.github.com/users/Qunya/repos","events_url":"https://api.github.com/users/Qunya/events{/privacy}","received_events_url":"https://api.github.com/users/Qunya/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-09-18T11:39:18Z","updated_at":"2017-09-18T14:01:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5a69c24d7849c0f089209da510c59bae997c3d9b","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Qunya/TutorJava/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Qunya/TutorJava/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Qunya/TutorJava/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Qunya/TutorJava/issues/1/comments","statuses_url":"https://api.github.com/repos/Qunya/TutorJava/statuses/1bd70907b88f592079f5f849408b521c75a75065","head":{"label":"Qunya:hotfix","ref":"hotfix","sha":"1bd70907b88f592079f5f849408b521c75a75065","user":{"login":"Qunya","id":25932512,"avatar_url":"https://avatars1.githubusercontent.com/u/25932512?v=4","gravatar_id":"","url":"https://api.github.com/users/Qunya","html_url":"https://github.com/Qunya","followers_url":"https://api.github.com/users/Qunya/followers","following_url":"https://api.github.com/users/Qunya/following{/other_user}","gists_url":"https://api.github.com/users/Qunya/gists{/gist_id}","starred_url":"https://api.github.com/users/Qunya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Qunya/subscriptions","organizations_url":"https://api.github.com/users/Qunya/orgs","repos_url":"https://api.github.com/users/Qunya/repos","events_url":"https://api.github.com/users/Qunya/events{/privacy}","received_events_url":"https://api.github.com/users/Qunya/received_events","type":"User","site_admin":false},"repo":{"id":103930404,"name":"TutorJava","full_name":"Qunya/TutorJava","owner":{"login":"Qunya","id":25932512,"avatar_url":"https://avatars1.githubusercontent.com/u/25932512?v=4","gravatar_id":"","url":"https://api.github.com/users/Qunya","html_url":"https://github.com/Qunya","followers_url":"https://api.github.com/users/Qunya/followers","following_url":"https://api.github.com/users/Qunya/following{/other_user}","gists_url":"https://api.github.com/users/Qunya/gists{/gist_id}","starred_url":"https://api.github.com/users/Qunya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Qunya/subscriptions","organizations_url":"https://api.github.com/users/Qunya/orgs","repos_url":"https://api.github.com/users/Qunya/repos","events_url":"https://api.github.com/users/Qunya/events{/privacy}","received_events_url":"https://api.github.com/users/Qunya/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Qunya/TutorJava","description":"Java projects","fork":false,"url":"https://api.github.com/repos/Qunya/TutorJava","forks_url":"https://api.github.com/repos/Qunya/TutorJava/forks","keys_url":"https://api.github.com/repos/Qunya/TutorJava/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Qunya/TutorJava/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Qunya/TutorJava/teams","hooks_url":"https://api.github.com/repos/Qunya/TutorJava/hooks","issue_events_url":"https://api.github.com/repos/Qunya/TutorJava/issues/events{/number}","events_url":"https://api.github.com/repos/Qunya/TutorJava/events","assignees_url":"https://api.github.com/repos/Qunya/TutorJava/assignees{/user}","branches_url":"https://api.github.com/repos/Qunya/TutorJava/branches{/branch}","tags_url":"https://api.github.com/repos/Qunya/TutorJava/tags","blobs_url":"https://api.github.com/repos/Qunya/TutorJava/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Qunya/TutorJava/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Qunya/TutorJava/git/refs{/sha}","trees_url":"https://api.github.com/repos/Qunya/TutorJava/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Qunya/TutorJava/statuses/{sha}","languages_url":"https://api.github.com/repos/Qunya/TutorJava/languages","stargazers_url":"https://api.github.com/repos/Qunya/TutorJava/stargazers","contributors_url":"https://api.github.com/repos/Qunya/TutorJava/contributors","subscribers_url":"https://api.github.com/repos/Qunya/TutorJava/subscribers","subscription_url":"https://api.github.com/repos/Qunya/TutorJava/subscription","commits_url":"https://api.github.com/repos/Qunya/TutorJava/commits{/sha}","git_commits_url":"https://api.github.com/repos/Qunya/TutorJava/git/commits{/sha}","comments_url":"https://api.github.com/repos/Qunya/TutorJava/comments{/number}","issue_comment_url":"https://api.github.com/repos/Qunya/TutorJava/issues/comments{/number}","contents_url":"https://api.github.com/repos/Qunya/TutorJava/contents/{+path}","compare_url":"https://api.github.com/repos/Qunya/TutorJava/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Qunya/TutorJava/merges","archive_url":"https://api.github.com/repos/Qunya/TutorJava/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Qunya/TutorJava/downloads","issues_url":"https://api.github.com/repos/Qunya/TutorJava/issues{/number}","pulls_url":"https://api.github.com/repos/Qunya/TutorJava/pulls{/number}","milestones_url":"https://api.github.com/repos/Qunya/TutorJava/milestones{/number}","notifications_url":"https://api.github.com/repos/Qunya/TutorJava/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Qunya/TutorJava/labels{/name}","releases_url":"https://api.github.com/repos/Qunya/TutorJava/releases{/id}","deployments_url":"https://api.github.com/repos/Qunya/TutorJava/deployments","created_at":"2017-09-18T11:28:17Z","updated_at":"2017-09-18T11:28:17Z","pushed_at":"2017-09-18T11:39:18Z","git_url":"git://github.com/Qunya/TutorJava.git","ssh_url":"git@github.com:Qunya/TutorJava.git","clone_url":"https://github.com/Qunya/TutorJava.git","svn_url":"https://github.com/Qunya/TutorJava","homepage":null,"size":1,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Qunya:master","ref":"master","sha":"587f2e067b067331b792c5b1302e5acfa0be92f2","user":{"login":"Qunya","id":25932512,"avatar_url":"https://avatars1.githubusercontent.com/u/25932512?v=4","gravatar_id":"","url":"https://api.github.com/users/Qunya","html_url":"https://github.com/Qunya","followers_url":"https://api.github.com/users/Qunya/followers","following_url":"https://api.github.com/users/Qunya/following{/other_user}","gists_url":"https://api.github.com/users/Qunya/gists{/gist_id}","starred_url":"https://api.github.com/users/Qunya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Qunya/subscriptions","organizations_url":"https://api.github.com/users/Qunya/orgs","repos_url":"https://api.github.com/users/Qunya/repos","events_url":"https://api.github.com/users/Qunya/events{/privacy}","received_events_url":"https://api.github.com/users/Qunya/received_events","type":"User","site_admin":false},"repo":{"id":103930404,"name":"TutorJava","full_name":"Qunya/TutorJava","owner":{"login":"Qunya","id":25932512,"avatar_url":"https://avatars1.githubusercontent.com/u/25932512?v=4","gravatar_id":"","url":"https://api.github.com/users/Qunya","html_url":"https://github.com/Qunya","followers_url":"https://api.github.com/users/Qunya/followers","following_url":"https://api.github.com/users/Qunya/following{/other_user}","gists_url":"https://api.github.com/users/Qunya/gists{/gist_id}","starred_url":"https://api.github.com/users/Qunya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Qunya/subscriptions","organizations_url":"https://api.github.com/users/Qunya/orgs","repos_url":"https://api.github.com/users/Qunya/repos","events_url":"https://api.github.com/users/Qunya/events{/privacy}","received_events_url":"https://api.github.com/users/Qunya/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Qunya/TutorJava","description":"Java projects","fork":false,"url":"https://api.github.com/repos/Qunya/TutorJava","forks_url":"https://api.github.com/repos/Qunya/TutorJava/forks","keys_url":"https://api.github.com/repos/Qunya/TutorJava/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Qunya/TutorJava/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Qunya/TutorJava/teams","hooks_url":"https://api.github.com/repos/Qunya/TutorJava/hooks","issue_events_url":"https://api.github.com/repos/Qunya/TutorJava/issues/events{/number}","events_url":"https://api.github.com/repos/Qunya/TutorJava/events","assignees_url":"https://api.github.com/repos/Qunya/TutorJava/assignees{/user}","branches_url":"https://api.github.com/repos/Qunya/TutorJava/branches{/branch}","tags_url":"https://api.github.com/repos/Qunya/TutorJava/tags","blobs_url":"https://api.github.com/repos/Qunya/TutorJava/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Qunya/TutorJava/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Qunya/TutorJava/git/refs{/sha}","trees_url":"https://api.github.com/repos/Qunya/TutorJava/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Qunya/TutorJava/statuses/{sha}","languages_url":"https://api.github.com/repos/Qunya/TutorJava/languages","stargazers_url":"https://api.github.com/repos/Qunya/TutorJava/stargazers","contributors_url":"https://api.github.com/repos/Qunya/TutorJava/contributors","subscribers_url":"https://api.github.com/repos/Qunya/TutorJava/subscribers","subscription_url":"https://api.github.com/repos/Qunya/TutorJava/subscription","commits_url":"https://api.github.com/repos/Qunya/TutorJava/commits{/sha}","git_commits_url":"https://api.github.com/repos/Qunya/TutorJava/git/commits{/sha}","comments_url":"https://api.github.com/repos/Qunya/TutorJava/comments{/number}","issue_comment_url":"https://api.github.com/repos/Qunya/TutorJava/issues/comments{/number}","contents_url":"https://api.github.com/repos/Qunya/TutorJava/contents/{+path}","compare_url":"https://api.github.com/repos/Qunya/TutorJava/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Qunya/TutorJava/merges","archive_url":"https://api.github.com/repos/Qunya/TutorJava/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Qunya/TutorJava/downloads","issues_url":"https://api.github.com/repos/Qunya/TutorJava/issues{/number}","pulls_url":"https://api.github.com/repos/Qunya/TutorJava/pulls{/number}","milestones_url":"https://api.github.com/repos/Qunya/TutorJava/milestones{/number}","notifications_url":"https://api.github.com/repos/Qunya/TutorJava/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Qunya/TutorJava/labels{/name}","releases_url":"https://api.github.com/repos/Qunya/TutorJava/releases{/id}","deployments_url":"https://api.github.com/repos/Qunya/TutorJava/deployments","created_at":"2017-09-18T11:28:17Z","updated_at":"2017-09-18T11:28:17Z","pushed_at":"2017-09-18T11:39:18Z","git_url":"git://github.com/Qunya/TutorJava.git","ssh_url":"git@github.com:Qunya/TutorJava.git","clone_url":"https://github.com/Qunya/TutorJava.git","svn_url":"https://github.com/Qunya/TutorJava","homepage":null,"size":1,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Qunya/TutorJava/pulls/1"},"html":{"href":"https://github.com/Qunya/TutorJava/pull/1"},"issue":{"href":"https://api.github.com/repos/Qunya/TutorJava/issues/1"},"comments":{"href":"https://api.github.com/repos/Qunya/TutorJava/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Qunya/TutorJava/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Qunya/TutorJava/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Qunya/TutorJava/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Qunya/TutorJava/statuses/1bd70907b88f592079f5f849408b521c75a75065"}},"author_association":"OWNER"}}
{"actor":{"display_login":"KozlovDanila"}}