payload: {"action":"created","comment":{"url":"https://api.github.com/repos/POOLab/POO2019-30223/pulls/comments/365598377","pull_request_review_id":341588228,"id":365598377,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM2NTU5ODM3Nw==","diff_hunk":"@@ -0,0 +1,63 @@\n+package Main;\n+\n+import java.util.ArrayList;\n+import java.util.Iterator;\n+\n+public class MyInter implements OrderedIterator{\n+\t/*\n+\tpublic Card[] cards = {\n+\t\t\tnew Card(\"2\",\"heart\"),\n+\t\t\tnew Card(\"3\",\"heart\"),\n+\t\t\tnew Card(\"4\",\"heart\"),\n+\t\t\tnew Card(\"5\",\"heart\"),\n+\t\t\tnew Card(\"6\",\"heart\"),\n+\t\t\tnew Card(\"7\",\"heart\"),\n+\t\t\tnew Card(\"8\",\"heart\"),\n+\t\t\tnew Card(\"9\",\"heart\"),\n+\t\t\tnew Card(\"10\",\"heart\"),\n+\t\t\tnew Card(\"J\",\"heart\"),\n+\t\t\tnew Card(\"Q\",\"heart\"),\n+\t\t\tnew Card(\"K\",\"heart\"),\n+\t\t\tnew Card(\"A\",\"heart\")\n+\t\t\t};*/\n+\t\n+\tpublic ArrayList<Card> cards = new ArrayList<Card>();\n+\t//cards.add(new Card(\"2\",\"heart\"));\n+\tprivate int position = 0;\n+\t\n+\t\n+\t@Override\n+\tpublic boolean hasNext() {\n+\t\t//position++;\n+\t\tif(position < cards.size())\n+\t\t\treturn true;\n+\t\treturn false;\n+\t}\n+\n+\t@Override\n+\tpublic Object next() {\n+\t\t//position++;\n+\t\tif(this.hasNext()) {\n+\t\t\treturn cards.get(position).number+\":\"+cards.get(position++).suit;\n+\t\t}\n+\t\treturn null;\n+\t}\n+\t\n+\t@Override\n+\tpublic void remove() {","path":"Students/Jula Madalina - Veronica/Assignments/Iterator/src/Main/MyInter.java","position":47,"original_position":47,"commit_id":"f64cfeac0037b1262a5aeaff0de540fb1bb6b448","original_commit_id":"f64cfeac0037b1262a5aeaff0de540fb1bb6b448","user":{"login":"AnaMariaNanes","id":24361735,"node_id":"MDQ6VXNlcjI0MzYxNzM1","avatar_url":"https://avatars2.githubusercontent.com/u/24361735?v=4","gravatar_id":"","url":"https://api.github.com/users/AnaMariaNanes","html_url":"https://github.com/AnaMariaNanes","followers_url":"https://api.github.com/users/AnaMariaNanes/followers","following_url":"https://api.github.com/users/AnaMariaNanes/following{/other_user}","gists_url":"https://api.github.com/users/AnaMariaNanes/gists{/gist_id}","starred_url":"https://api.github.com/users/AnaMariaNanes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnaMariaNanes/subscriptions","organizations_url":"https://api.github.com/users/AnaMariaNanes/orgs","repos_url":"https://api.github.com/users/AnaMariaNanes/repos","events_url":"https://api.github.com/users/AnaMariaNanes/events{/privacy}","received_events_url":"https://api.github.com/users/AnaMariaNanes/received_events","type":"User","site_admin":false},"body":"??","created_at":"2020-01-12T17:25:37Z","updated_at":"2020-01-12T17:29:41Z","html_url":"https://github.com/POOLab/POO2019-30223/pull/34#discussion_r365598377","pull_request_url":"https://api.github.com/repos/POOLab/POO2019-30223/pulls/34","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/POOLab/POO2019-30223/pulls/comments/365598377"},"html":{"href":"https://github.com/POOLab/POO2019-30223/pull/34#discussion_r365598377"},"pull_request":{"href":"https://api.github.com/repos/POOLab/POO2019-30223/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/POOLab/POO2019-30223/pulls/34","id":337383407,"node_id":"MDExOlB1bGxSZXF1ZXN0MzM3MzgzNDA3","html_url":"https://github.com/POOLab/POO2019-30223/pull/34","diff_url":"https://github.com/POOLab/POO2019-30223/pull/34.diff","patch_url":"https://github.com/POOLab/POO2019-30223/pull/34.patch","issue_url":"https://api.github.com/repos/POOLab/POO2019-30223/issues/34","number":34,"state":"open","locked":false,"title":"zoo 1","user":{"login":"madalinajula","id":18449085,"node_id":"MDQ6VXNlcjE4NDQ5MDg1","avatar_url":"https://avatars2.githubusercontent.com/u/18449085?v=4","gravatar_id":"","url":"https://api.github.com/users/madalinajula","html_url":"https://github.com/madalinajula","followers_url":"https://api.github.com/users/madalinajula/followers","following_url":"https://api.github.com/users/madalinajula/following{/other_user}","gists_url":"https://api.github.com/users/madalinajula/gists{/gist_id}","starred_url":"https://api.github.com/users/madalinajula/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madalinajula/subscriptions","organizations_url":"https://api.github.com/users/madalinajula/orgs","repos_url":"https://api.github.com/users/madalinajula/repos","events_url":"https://api.github.com/users/madalinajula/events{/privacy}","received_events_url":"https://api.github.com/users/madalinajula/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-11-06T14:15:47Z","updated_at":"2020-01-12T17:29:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aa63b30e3236410698fd81bad1402b38e037938e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/POOLab/POO2019-30223/pulls/34/commits","review_comments_url":"https://api.github.com/repos/POOLab/POO2019-30223/pulls/34/comments","review_comment_url":"https://api.github.com/repos/POOLab/POO2019-30223/pulls/comments{/number}","comments_url":"https://api.github.com/repos/POOLab/POO2019-30223/issues/34/comments","statuses_url":"https://api.github.com/repos/POOLab/POO2019-30223/statuses/f64cfeac0037b1262a5aeaff0de540fb1bb6b448","head":{"label":"madalinajula:master","ref":"master","sha":"f64cfeac0037b1262a5aeaff0de540fb1bb6b448","user":{"login":"madalinajula","id":18449085,"node_id":"MDQ6VXNlcjE4NDQ5MDg1","avatar_url":"https://avatars2.githubusercontent.com/u/18449085?v=4","gravatar_id":"","url":"https://api.github.com/users/madalinajula","html_url":"https://github.com/madalinajula","followers_url":"https://api.github.com/users/madalinajula/followers","following_url":"https://api.github.com/users/madalinajula/following{/other_user}","gists_url":"https://api.github.com/users/madalinajula/gists{/gist_id}","starred_url":"https://api.github.com/users/madalinajula/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madalinajula/subscriptions","organizations_url":"https://api.github.com/users/madalinajula/orgs","repos_url":"https://api.github.com/users/madalinajula/repos","events_url":"https://api.github.com/users/madalinajula/events{/privacy}","received_events_url":"https://api.github.com/users/madalinajula/received_events","type":"User","site_admin":false},"repo":{"id":214606573,"node_id":"MDEwOlJlcG9zaXRvcnkyMTQ2MDY1NzM=","name":"POO2019-30223","full_name":"madalinajula/POO2019-30223","private":false,"owner":{"login":"madalinajula","id":18449085,"node_id":"MDQ6VXNlcjE4NDQ5MDg1","avatar_url":"https://avatars2.githubusercontent.com/u/18449085?v=4","gravatar_id":"","url":"https://api.github.com/users/madalinajula","html_url":"https://github.com/madalinajula","followers_url":"https://api.github.com/users/madalinajula/followers","following_url":"https://api.github.com/users/madalinajula/following{/other_user}","gists_url":"https://api.github.com/users/madalinajula/gists{/gist_id}","starred_url":"https://api.github.com/users/madalinajula/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madalinajula/subscriptions","organizations_url":"https://api.github.com/users/madalinajula/orgs","repos_url":"https://api.github.com/users/madalinajula/repos","events_url":"https://api.github.com/users/madalinajula/events{/privacy}","received_events_url":"https://api.github.com/users/madalinajula/received_events","type":"User","site_admin":false},"html_url":"https://github.com/madalinajula/POO2019-30223","description":"Laborator POO 2019","fork":true,"url":"https://api.github.com/repos/madalinajula/POO2019-30223","forks_url":"https://api.github.com/repos/madalinajula/POO2019-30223/forks","keys_url":"https://api.github.com/repos/madalinajula/POO2019-30223/keys{/key_id}","collaborators_url":"https://api.github.com/repos/madalinajula/POO2019-30223/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/madalinajula/POO2019-30223/teams","hooks_url":"https://api.github.com/repos/madalinajula/POO2019-30223/hooks","issue_events_url":"https://api.github.com/repos/madalinajula/POO2019-30223/issues/events{/number}","events_url":"https://api.github.com/repos/madalinajula/POO2019-30223/events","assignees_url":"https://api.github.com/repos/madalinajula/POO2019-30223/assignees{/user}","branches_url":"https://api.github.com/repos/madalinajula/POO2019-30223/branches{/branch}","tags_url":"https://api.github.com/repos/madalinajula/POO2019-30223/tags","blobs_url":"https://api.github.com/repos/madalinajula/POO2019-30223/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/madalinajula/POO2019-30223/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/madalinajula/POO2019-30223/git/refs{/sha}","trees_url":"https://api.github.com/repos/madalinajula/POO2019-30223/git/trees{/sha}","statuses_url":"https://api.github.com/repos/madalinajula/POO2019-30223/statuses/{sha}","languages_url":"https://api.github.com/repos/madalinajula/POO2019-30223/languages","stargazers_url":"https://api.github.com/repos/madalinajula/POO2019-30223/stargazers","contributors_url":"https://api.github.com/repos/madalinajula/POO2019-30223/contributors","subscribers_url":"https://api.github.com/repos/madalinajula/POO2019-30223/subscribers","subscription_url":"https://api.github.com/repos/madalinajula/POO2019-30223/subscription","commits_url":"https://api.github.com/repos/madalinajula/POO2019-30223/commits{/sha}","git_commits_url":"https://api.github.com/repos/madalinajula/POO2019-30223/git/commits{/sha}","comments_url":"https://api.github.com/repos/madalinajula/POO2019-30223/comments{/number}","issue_comment_url":"https://api.github.com/repos/madalinajula/POO2019-30223/issues/comments{/number}","contents_url":"https://api.github.com/repos/madalinajula/POO2019-30223/contents/{+path}","compare_url":"https://api.github.com/repos/madalinajula/POO2019-30223/compare/{base}...{head}","merges_url":"https://api.github.com/repos/madalinajula/POO2019-30223/merges","archive_url":"https://api.github.com/repos/madalinajula/POO2019-30223/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/madalinajula/POO2019-30223/downloads","issues_url":"https://api.github.com/repos/madalinajula/POO2019-30223/issues{/number}","pulls_url":"https://api.github.com/repos/madalinajula/POO2019-30223/pulls{/number}","milestones_url":"https://api.github.com/repos/madalinajula/POO2019-30223/milestones{/number}","notifications_url":"https://api.github.com/repos/madalinajula/POO2019-30223/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/madalinajula/POO2019-30223/labels{/name}","releases_url":"https://api.github.com/repos/madalinajula/POO2019-30223/releases{/id}","deployments_url":"https://api.github.com/repos/madalinajula/POO2019-30223/deployments","created_at":"2019-10-12T08:09:51Z","updated_at":"2020-01-07T20:23:04Z","pushed_at":"2020-01-07T20:23:02Z","git_url":"git://github.com/madalinajula/POO2019-30223.git","ssh_url":"git@github.com:madalinajula/POO2019-30223.git","clone_url":"https://github.com/madalinajula/POO2019-30223.git","svn_url":"https://github.com/madalinajula/POO2019-30223","homepage":null,"size":11252,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"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":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"POOLab:master","ref":"master","sha":"5722265d370cded208a11c76201d162e5eb1a037","user":{"login":"POOLab","id":56301531,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU2MzAxNTMx","avatar_url":"https://avatars3.githubusercontent.com/u/56301531?v=4","gravatar_id":"","url":"https://api.github.com/users/POOLab","html_url":"https://github.com/POOLab","followers_url":"https://api.github.com/users/POOLab/followers","following_url":"https://api.github.com/users/POOLab/following{/other_user}","gists_url":"https://api.github.com/users/POOLab/gists{/gist_id}","starred_url":"https://api.github.com/users/POOLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/POOLab/subscriptions","organizations_url":"https://api.github.com/users/POOLab/orgs","repos_url":"https://api.github.com/users/POOLab/repos","events_url":"https://api.github.com/users/POOLab/events{/privacy}","received_events_url":"https://api.github.com/users/POOLab/received_events","type":"Organization","site_admin":false},"repo":{"id":213622827,"node_id":"MDEwOlJlcG9zaXRvcnkyMTM2MjI4Mjc=","name":"POO2019-30223","full_name":"POOLab/POO2019-30223","private":false,"owner":{"login":"POOLab","id":56301531,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU2MzAxNTMx","avatar_url":"https://avatars3.githubusercontent.com/u/56301531?v=4","gravatar_id":"","url":"https://api.github.com/users/POOLab","html_url":"https://github.com/POOLab","followers_url":"https://api.github.com/users/POOLab/followers","following_url":"https://api.github.com/users/POOLab/following{/other_user}","gists_url":"https://api.github.com/users/POOLab/gists{/gist_id}","starred_url":"https://api.github.com/users/POOLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/POOLab/subscriptions","organizations_url":"https://api.github.com/users/POOLab/orgs","repos_url":"https://api.github.com/users/POOLab/repos","events_url":"https://api.github.com/users/POOLab/events{/privacy}","received_events_url":"https://api.github.com/users/POOLab/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/POOLab/POO2019-30223","description":"Laborator POO 2019","fork":false,"url":"https://api.github.com/repos/POOLab/POO2019-30223","forks_url":"https://api.github.com/repos/POOLab/POO2019-30223/forks","keys_url":"https://api.github.com/repos/POOLab/POO2019-30223/keys{/key_id}","collaborators_url":"https://api.github.com/repos/POOLab/POO2019-30223/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/POOLab/POO2019-30223/teams","hooks_url":"https://api.github.com/repos/POOLab/POO2019-30223/hooks","issue_events_url":"https://api.github.com/repos/POOLab/POO2019-30223/issues/events{/number}","events_url":"https://api.github.com/repos/POOLab/POO2019-30223/events","assignees_url":"https://api.github.com/repos/POOLab/POO2019-30223/assignees{/user}","branches_url":"https://api.github.com/repos/POOLab/POO2019-30223/branches{/branch}","tags_url":"https://api.github.com/repos/POOLab/POO2019-30223/tags","blobs_url":"https://api.github.com/repos/POOLab/POO2019-30223/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/POOLab/POO2019-30223/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/POOLab/POO2019-30223/git/refs{/sha}","trees_url":"https://api.github.com/repos/POOLab/POO2019-30223/git/trees{/sha}","statuses_url":"https://api.github.com/repos/POOLab/POO2019-30223/statuses/{sha}","languages_url":"https://api.github.com/repos/POOLab/POO2019-30223/languages","stargazers_url":"https://api.github.com/repos/POOLab/POO2019-30223/stargazers","contributors_url":"https://api.github.com/repos/POOLab/POO2019-30223/contributors","subscribers_url":"https://api.github.com/repos/POOLab/POO2019-30223/subscribers","subscription_url":"https://api.github.com/repos/POOLab/POO2019-30223/subscription","commits_url":"https://api.github.com/repos/POOLab/POO2019-30223/commits{/sha}","git_commits_url":"https://api.github.com/repos/POOLab/POO2019-30223/git/commits{/sha}","comments_url":"https://api.github.com/repos/POOLab/POO2019-30223/comments{/number}","issue_comment_url":"https://api.github.com/repos/POOLab/POO2019-30223/issues/comments{/number}","contents_url":"https://api.github.com/repos/POOLab/POO2019-30223/contents/{+path}","compare_url":"https://api.github.com/repos/POOLab/POO2019-30223/compare/{base}...{head}","merges_url":"https://api.github.com/repos/POOLab/POO2019-30223/merges","archive_url":"https://api.github.com/repos/POOLab/POO2019-30223/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/POOLab/POO2019-30223/downloads","issues_url":"https://api.github.com/repos/POOLab/POO2019-30223/issues{/number}","pulls_url":"https://api.github.com/repos/POOLab/POO2019-30223/pulls{/number}","milestones_url":"https://api.github.com/repos/POOLab/POO2019-30223/milestones{/number}","notifications_url":"https://api.github.com/repos/POOLab/POO2019-30223/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/POOLab/POO2019-30223/labels{/name}","releases_url":"https://api.github.com/repos/POOLab/POO2019-30223/releases{/id}","deployments_url":"https://api.github.com/repos/POOLab/POO2019-30223/deployments","created_at":"2019-10-08T11:20:20Z","updated_at":"2019-12-27T11:56:52Z","pushed_at":"2020-01-11T11:54:00Z","git_url":"git://github.com/POOLab/POO2019-30223.git","ssh_url":"git@github.com:POOLab/POO2019-30223.git","clone_url":"https://github.com/POOLab/POO2019-30223.git","svn_url":"https://github.com/POOLab/POO2019-30223","homepage":null,"size":15526,"stargazers_count":7,"watchers_count":7,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":26,"license":null,"forks":28,"open_issues":26,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/POOLab/POO2019-30223/pulls/34"},"html":{"href":"https://github.com/POOLab/POO2019-30223/pull/34"},"issue":{"href":"https://api.github.com/repos/POOLab/POO2019-30223/issues/34"},"comments":{"href":"https://api.github.com/repos/POOLab/POO2019-30223/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/POOLab/POO2019-30223/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/POOLab/POO2019-30223/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/POOLab/POO2019-30223/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/POOLab/POO2019-30223/statuses/f64cfeac0037b1262a5aeaff0de540fb1bb6b448"}},"author_association":"CONTRIBUTOR"}}
other: {"actor":{"display_login":"AnaMariaNanes"}}