{"action":"created","comment":{"url":"https://api.github.com/repos/oraclewalid/Blackout/pulls/comments/64491795","id":64491795,"diff_hunk":"@@ -154,6 +148,22 @@ public boolean containsAll(Collection<?> c) {\n \n     @Override\n     public boolean removeAll(Collection<?> c) {\n+        int[] elementData = new int[size];\n+        int newIndex = 0;\n+        for (int i = 0; i < size ; i++) {\n+            if (!c.contains(get(i))) {\n+                elementData[newIndex++] = get(i);\n+            }\n+        }\n+        if (newIndex != size) {\n+            elementData = Arrays.copyOf(elementData, newIndex);\n+            BlackoutIntegerArray newArray = new BlackoutIntegerArray(elementData);","path":"src/main/java/com/fabulouslab/collection/BlackoutIntegerArray.java","position":28,"original_position":28,"commit_id":"30a4d147df9dcb44ff6b3c465e61659decb7d3bd","original_commit_id":"30a4d147df9dcb44ff6b3c465e61659decb7d3bd","user":{"login":"oraclewalid","id":1771922,"avatar_url":"https://avatars.githubusercontent.com/u/1771922?v=3","gravatar_id":"","url":"https://api.github.com/users/oraclewalid","html_url":"https://github.com/oraclewalid","followers_url":"https://api.github.com/users/oraclewalid/followers","following_url":"https://api.github.com/users/oraclewalid/following{/other_user}","gists_url":"https://api.github.com/users/oraclewalid/gists{/gist_id}","starred_url":"https://api.github.com/users/oraclewalid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oraclewalid/subscriptions","organizations_url":"https://api.github.com/users/oraclewalid/orgs","repos_url":"https://api.github.com/users/oraclewalid/repos","events_url":"https://api.github.com/users/oraclewalid/events{/privacy}","received_events_url":"https://api.github.com/users/oraclewalid/received_events","type":"User","site_admin":false},"body":"wwwwwwe , ça me gène  de reallouer un nouveau objet :( ","created_at":"2016-05-24T23:16:33Z","updated_at":"2016-05-24T23:16:33Z","html_url":"https://github.com/oraclewalid/Blackout/pull/1#discussion_r64491795","pull_request_url":"https://api.github.com/repos/oraclewalid/Blackout/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/oraclewalid/Blackout/pulls/comments/64491795"},"html":{"href":"https://github.com/oraclewalid/Blackout/pull/1#discussion_r64491795"},"pull_request":{"href":"https://api.github.com/repos/oraclewalid/Blackout/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/oraclewalid/Blackout/pulls/1","id":71304915,"html_url":"https://github.com/oraclewalid/Blackout/pull/1","diff_url":"https://github.com/oraclewalid/Blackout/pull/1.diff","patch_url":"https://github.com/oraclewalid/Blackout/pull/1.patch","issue_url":"https://api.github.com/repos/oraclewalid/Blackout/issues/1","number":1,"state":"open","locked":false,"title":"Implement lastIndexOf + removeAll","user":{"login":"amboub","id":10134859,"avatar_url":"https://avatars.githubusercontent.com/u/10134859?v=3","gravatar_id":"","url":"https://api.github.com/users/amboub","html_url":"https://github.com/amboub","followers_url":"https://api.github.com/users/amboub/followers","following_url":"https://api.github.com/users/amboub/following{/other_user}","gists_url":"https://api.github.com/users/amboub/gists{/gist_id}","starred_url":"https://api.github.com/users/amboub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amboub/subscriptions","organizations_url":"https://api.github.com/users/amboub/orgs","repos_url":"https://api.github.com/users/amboub/repos","events_url":"https://api.github.com/users/amboub/events{/privacy}","received_events_url":"https://api.github.com/users/amboub/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-24T22:41:30Z","updated_at":"2016-05-24T23:16:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"99d3e77f4e1b27520b885924abfb44e4a1174588","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/oraclewalid/Blackout/pulls/1/commits","review_comments_url":"https://api.github.com/repos/oraclewalid/Blackout/pulls/1/comments","review_comment_url":"https://api.github.com/repos/oraclewalid/Blackout/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oraclewalid/Blackout/issues/1/comments","statuses_url":"https://api.github.com/repos/oraclewalid/Blackout/statuses/30a4d147df9dcb44ff6b3c465e61659decb7d3bd","head":{"label":"oraclewalid:master-implment-lastIndexOf-removeAll","ref":"master-implment-lastIndexOf-removeAll","sha":"30a4d147df9dcb44ff6b3c465e61659decb7d3bd","user":{"login":"oraclewalid","id":1771922,"avatar_url":"https://avatars.githubusercontent.com/u/1771922?v=3","gravatar_id":"","url":"https://api.github.com/users/oraclewalid","html_url":"https://github.com/oraclewalid","followers_url":"https://api.github.com/users/oraclewalid/followers","following_url":"https://api.github.com/users/oraclewalid/following{/other_user}","gists_url":"https://api.github.com/users/oraclewalid/gists{/gist_id}","starred_url":"https://api.github.com/users/oraclewalid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oraclewalid/subscriptions","organizations_url":"https://api.github.com/users/oraclewalid/orgs","repos_url":"https://api.github.com/users/oraclewalid/repos","events_url":"https://api.github.com/users/oraclewalid/events{/privacy}","received_events_url":"https://api.github.com/users/oraclewalid/received_events","type":"User","site_admin":false},"repo":{"id":55913701,"name":"Blackout","full_name":"oraclewalid/Blackout","owner":{"login":"oraclewalid","id":1771922,"avatar_url":"https://avatars.githubusercontent.com/u/1771922?v=3","gravatar_id":"","url":"https://api.github.com/users/oraclewalid","html_url":"https://github.com/oraclewalid","followers_url":"https://api.github.com/users/oraclewalid/followers","following_url":"https://api.github.com/users/oraclewalid/following{/other_user}","gists_url":"https://api.github.com/users/oraclewalid/gists{/gist_id}","starred_url":"https://api.github.com/users/oraclewalid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oraclewalid/subscriptions","organizations_url":"https://api.github.com/users/oraclewalid/orgs","repos_url":"https://api.github.com/users/oraclewalid/repos","events_url":"https://api.github.com/users/oraclewalid/events{/privacy}","received_events_url":"https://api.github.com/users/oraclewalid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/oraclewalid/Blackout","description":"off-heap implementation of java String  and some DataStractures","fork":false,"url":"https://api.github.com/repos/oraclewalid/Blackout","forks_url":"https://api.github.com/repos/oraclewalid/Blackout/forks","keys_url":"https://api.github.com/repos/oraclewalid/Blackout/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oraclewalid/Blackout/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oraclewalid/Blackout/teams","hooks_url":"https://api.github.com/repos/oraclewalid/Blackout/hooks","issue_events_url":"https://api.github.com/repos/oraclewalid/Blackout/issues/events{/number}","events_url":"https://api.github.com/repos/oraclewalid/Blackout/events","assignees_url":"https://api.github.com/repos/oraclewalid/Blackout/assignees{/user}","branches_url":"https://api.github.com/repos/oraclewalid/Blackout/branches{/branch}","tags_url":"https://api.github.com/repos/oraclewalid/Blackout/tags","blobs_url":"https://api.github.com/repos/oraclewalid/Blackout/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oraclewalid/Blackout/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oraclewalid/Blackout/git/refs{/sha}","trees_url":"https://api.github.com/repos/oraclewalid/Blackout/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oraclewalid/Blackout/statuses/{sha}","languages_url":"https://api.github.com/repos/oraclewalid/Blackout/languages","stargazers_url":"https://api.github.com/repos/oraclewalid/Blackout/stargazers","contributors_url":"https://api.github.com/repos/oraclewalid/Blackout/contributors","subscribers_url":"https://api.github.com/repos/oraclewalid/Blackout/subscribers","subscription_url":"https://api.github.com/repos/oraclewalid/Blackout/subscription","commits_url":"https://api.github.com/repos/oraclewalid/Blackout/commits{/sha}","git_commits_url":"https://api.github.com/repos/oraclewalid/Blackout/git/commits{/sha}","comments_url":"https://api.github.com/repos/oraclewalid/Blackout/comments{/number}","issue_comment_url":"https://api.github.com/repos/oraclewalid/Blackout/issues/comments{/number}","contents_url":"https://api.github.com/repos/oraclewalid/Blackout/contents/{+path}","compare_url":"https://api.github.com/repos/oraclewalid/Blackout/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oraclewalid/Blackout/merges","archive_url":"https://api.github.com/repos/oraclewalid/Blackout/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oraclewalid/Blackout/downloads","issues_url":"https://api.github.com/repos/oraclewalid/Blackout/issues{/number}","pulls_url":"https://api.github.com/repos/oraclewalid/Blackout/pulls{/number}","milestones_url":"https://api.github.com/repos/oraclewalid/Blackout/milestones{/number}","notifications_url":"https://api.github.com/repos/oraclewalid/Blackout/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oraclewalid/Blackout/labels{/name}","releases_url":"https://api.github.com/repos/oraclewalid/Blackout/releases{/id}","deployments_url":"https://api.github.com/repos/oraclewalid/Blackout/deployments","created_at":"2016-04-10T17:47:31Z","updated_at":"2016-04-10T17:57:04Z","pushed_at":"2016-05-24T22:41:30Z","git_url":"git://github.com/oraclewalid/Blackout.git","ssh_url":"git@github.com:oraclewalid/Blackout.git","clone_url":"https://github.com/oraclewalid/Blackout.git","svn_url":"https://github.com/oraclewalid/Blackout","homepage":"","size":15,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":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":"oraclewalid:master","ref":"master","sha":"7139aeab2fd941f30a8c6755f02bbaaf2c2c7f4c","user":{"login":"oraclewalid","id":1771922,"avatar_url":"https://avatars.githubusercontent.com/u/1771922?v=3","gravatar_id":"","url":"https://api.github.com/users/oraclewalid","html_url":"https://github.com/oraclewalid","followers_url":"https://api.github.com/users/oraclewalid/followers","following_url":"https://api.github.com/users/oraclewalid/following{/other_user}","gists_url":"https://api.github.com/users/oraclewalid/gists{/gist_id}","starred_url":"https://api.github.com/users/oraclewalid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oraclewalid/subscriptions","organizations_url":"https://api.github.com/users/oraclewalid/orgs","repos_url":"https://api.github.com/users/oraclewalid/repos","events_url":"https://api.github.com/users/oraclewalid/events{/privacy}","received_events_url":"https://api.github.com/users/oraclewalid/received_events","type":"User","site_admin":false},"repo":{"id":55913701,"name":"Blackout","full_name":"oraclewalid/Blackout","owner":{"login":"oraclewalid","id":1771922,"avatar_url":"https://avatars.githubusercontent.com/u/1771922?v=3","gravatar_id":"","url":"https://api.github.com/users/oraclewalid","html_url":"https://github.com/oraclewalid","followers_url":"https://api.github.com/users/oraclewalid/followers","following_url":"https://api.github.com/users/oraclewalid/following{/other_user}","gists_url":"https://api.github.com/users/oraclewalid/gists{/gist_id}","starred_url":"https://api.github.com/users/oraclewalid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oraclewalid/subscriptions","organizations_url":"https://api.github.com/users/oraclewalid/orgs","repos_url":"https://api.github.com/users/oraclewalid/repos","events_url":"https://api.github.com/users/oraclewalid/events{/privacy}","received_events_url":"https://api.github.com/users/oraclewalid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/oraclewalid/Blackout","description":"off-heap implementation of java String  and some DataStractures","fork":false,"url":"https://api.github.com/repos/oraclewalid/Blackout","forks_url":"https://api.github.com/repos/oraclewalid/Blackout/forks","keys_url":"https://api.github.com/repos/oraclewalid/Blackout/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oraclewalid/Blackout/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oraclewalid/Blackout/teams","hooks_url":"https://api.github.com/repos/oraclewalid/Blackout/hooks","issue_events_url":"https://api.github.com/repos/oraclewalid/Blackout/issues/events{/number}","events_url":"https://api.github.com/repos/oraclewalid/Blackout/events","assignees_url":"https://api.github.com/repos/oraclewalid/Blackout/assignees{/user}","branches_url":"https://api.github.com/repos/oraclewalid/Blackout/branches{/branch}","tags_url":"https://api.github.com/repos/oraclewalid/Blackout/tags","blobs_url":"https://api.github.com/repos/oraclewalid/Blackout/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oraclewalid/Blackout/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oraclewalid/Blackout/git/refs{/sha}","trees_url":"https://api.github.com/repos/oraclewalid/Blackout/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oraclewalid/Blackout/statuses/{sha}","languages_url":"https://api.github.com/repos/oraclewalid/Blackout/languages","stargazers_url":"https://api.github.com/repos/oraclewalid/Blackout/stargazers","contributors_url":"https://api.github.com/repos/oraclewalid/Blackout/contributors","subscribers_url":"https://api.github.com/repos/oraclewalid/Blackout/subscribers","subscription_url":"https://api.github.com/repos/oraclewalid/Blackout/subscription","commits_url":"https://api.github.com/repos/oraclewalid/Blackout/commits{/sha}","git_commits_url":"https://api.github.com/repos/oraclewalid/Blackout/git/commits{/sha}","comments_url":"https://api.github.com/repos/oraclewalid/Blackout/comments{/number}","issue_comment_url":"https://api.github.com/repos/oraclewalid/Blackout/issues/comments{/number}","contents_url":"https://api.github.com/repos/oraclewalid/Blackout/contents/{+path}","compare_url":"https://api.github.com/repos/oraclewalid/Blackout/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oraclewalid/Blackout/merges","archive_url":"https://api.github.com/repos/oraclewalid/Blackout/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oraclewalid/Blackout/downloads","issues_url":"https://api.github.com/repos/oraclewalid/Blackout/issues{/number}","pulls_url":"https://api.github.com/repos/oraclewalid/Blackout/pulls{/number}","milestones_url":"https://api.github.com/repos/oraclewalid/Blackout/milestones{/number}","notifications_url":"https://api.github.com/repos/oraclewalid/Blackout/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oraclewalid/Blackout/labels{/name}","releases_url":"https://api.github.com/repos/oraclewalid/Blackout/releases{/id}","deployments_url":"https://api.github.com/repos/oraclewalid/Blackout/deployments","created_at":"2016-04-10T17:47:31Z","updated_at":"2016-04-10T17:57:04Z","pushed_at":"2016-05-24T22:41:30Z","git_url":"git://github.com/oraclewalid/Blackout.git","ssh_url":"git@github.com:oraclewalid/Blackout.git","clone_url":"https://github.com/oraclewalid/Blackout.git","svn_url":"https://github.com/oraclewalid/Blackout","homepage":"","size":15,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":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/oraclewalid/Blackout/pulls/1"},"html":{"href":"https://github.com/oraclewalid/Blackout/pull/1"},"issue":{"href":"https://api.github.com/repos/oraclewalid/Blackout/issues/1"},"comments":{"href":"https://api.github.com/repos/oraclewalid/Blackout/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/oraclewalid/Blackout/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/oraclewalid/Blackout/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oraclewalid/Blackout/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/oraclewalid/Blackout/statuses/30a4d147df9dcb44ff6b3c465e61659decb7d3bd"}}}}
{"actor":{"display_login":"oraclewalid"}}