{"action":"created","comment":{"url":"https://api.github.com/repos/wapatesh/fig/pulls/comments/35515935","id":35515935,"diff_hunk":"@@ -404,4 +431,189 @@ default int findLastIndex(Predicate<T> condition) {\n     default Seq<T> subSeq(int fromIndex, int toIndex) {\n         return new SeqImpl<>(this.subList(fromIndex, toIndex));\n     }\n+\n+    /**\n+     * Remove elements which satisfy the condition, resulting a new seq without changing the original one.\n+     *\n+     * @return The new seq after the change\n+     */\n+    default Seq<T> removeIf(BiPredicate<T, Integer> condition) {","path":"src/main/java/com/worksap/fig/lang/Seq.java","position":51,"original_position":51,"commit_id":"4e9f44a0a4660c32246cf699f955b515a5da84cf","original_commit_id":"4e9f44a0a4660c32246cf699f955b515a5da84cf","user":{"login":"liuyang1204","id":2900425,"avatar_url":"https://avatars.githubusercontent.com/u/2900425?v=3","gravatar_id":"","url":"https://api.github.com/users/liuyang1204","html_url":"https://github.com/liuyang1204","followers_url":"https://api.github.com/users/liuyang1204/followers","following_url":"https://api.github.com/users/liuyang1204/following{/other_user}","gists_url":"https://api.github.com/users/liuyang1204/gists{/gist_id}","starred_url":"https://api.github.com/users/liuyang1204/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liuyang1204/subscriptions","organizations_url":"https://api.github.com/users/liuyang1204/orgs","repos_url":"https://api.github.com/users/liuyang1204/repos","events_url":"https://api.github.com/users/liuyang1204/events{/privacy}","received_events_url":"https://api.github.com/users/liuyang1204/received_events","type":"User","site_admin":false},"body":"To keep consistency with other method styles, I think we need a lambda for only the element without index?","created_at":"2015-07-27T08:51:05Z","updated_at":"2015-07-27T08:51:05Z","html_url":"https://github.com/wapatesh/fig/pull/4#discussion_r35515935","pull_request_url":"https://api.github.com/repos/wapatesh/fig/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/wapatesh/fig/pulls/comments/35515935"},"html":{"href":"https://github.com/wapatesh/fig/pull/4#discussion_r35515935"},"pull_request":{"href":"https://api.github.com/repos/wapatesh/fig/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/wapatesh/fig/pulls/4","id":40880160,"html_url":"https://github.com/wapatesh/fig/pull/4","diff_url":"https://github.com/wapatesh/fig/pull/4.diff","patch_url":"https://github.com/wapatesh/fig/pull/4.patch","issue_url":"https://api.github.com/repos/wapatesh/fig/issues/4","number":4,"state":"open","locked":false,"title":"Seq","user":{"login":"WangBoxue","id":8158996,"avatar_url":"https://avatars.githubusercontent.com/u/8158996?v=3","gravatar_id":"","url":"https://api.github.com/users/WangBoxue","html_url":"https://github.com/WangBoxue","followers_url":"https://api.github.com/users/WangBoxue/followers","following_url":"https://api.github.com/users/WangBoxue/following{/other_user}","gists_url":"https://api.github.com/users/WangBoxue/gists{/gist_id}","starred_url":"https://api.github.com/users/WangBoxue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WangBoxue/subscriptions","organizations_url":"https://api.github.com/users/WangBoxue/orgs","repos_url":"https://api.github.com/users/WangBoxue/repos","events_url":"https://api.github.com/users/WangBoxue/events{/privacy}","received_events_url":"https://api.github.com/users/WangBoxue/received_events","type":"User","site_admin":false},"body":"Add functions below:\r\nnewSeq, removeIf, getIf, get, repeat, at, compact, count","created_at":"2015-07-27T08:27:53Z","updated_at":"2015-07-27T08:51:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b3cde196ce55415aaa113df88bc5c5c39430572a","assignee":{"login":"liuyang1204","id":2900425,"avatar_url":"https://avatars.githubusercontent.com/u/2900425?v=3","gravatar_id":"","url":"https://api.github.com/users/liuyang1204","html_url":"https://github.com/liuyang1204","followers_url":"https://api.github.com/users/liuyang1204/followers","following_url":"https://api.github.com/users/liuyang1204/following{/other_user}","gists_url":"https://api.github.com/users/liuyang1204/gists{/gist_id}","starred_url":"https://api.github.com/users/liuyang1204/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liuyang1204/subscriptions","organizations_url":"https://api.github.com/users/liuyang1204/orgs","repos_url":"https://api.github.com/users/liuyang1204/repos","events_url":"https://api.github.com/users/liuyang1204/events{/privacy}","received_events_url":"https://api.github.com/users/liuyang1204/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/wapatesh/fig/pulls/4/commits","review_comments_url":"https://api.github.com/repos/wapatesh/fig/pulls/4/comments","review_comment_url":"https://api.github.com/repos/wapatesh/fig/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wapatesh/fig/issues/4/comments","statuses_url":"https://api.github.com/repos/wapatesh/fig/statuses/4e9f44a0a4660c32246cf699f955b515a5da84cf","head":{"label":"wapatesh:seq","ref":"seq","sha":"4e9f44a0a4660c32246cf699f955b515a5da84cf","user":{"login":"wapatesh","id":11624337,"avatar_url":"https://avatars.githubusercontent.com/u/11624337?v=3","gravatar_id":"","url":"https://api.github.com/users/wapatesh","html_url":"https://github.com/wapatesh","followers_url":"https://api.github.com/users/wapatesh/followers","following_url":"https://api.github.com/users/wapatesh/following{/other_user}","gists_url":"https://api.github.com/users/wapatesh/gists{/gist_id}","starred_url":"https://api.github.com/users/wapatesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wapatesh/subscriptions","organizations_url":"https://api.github.com/users/wapatesh/orgs","repos_url":"https://api.github.com/users/wapatesh/repos","events_url":"https://api.github.com/users/wapatesh/events{/privacy}","received_events_url":"https://api.github.com/users/wapatesh/received_events","type":"Organization","site_admin":false},"repo":{"id":39608148,"name":"fig","full_name":"wapatesh/fig","owner":{"login":"wapatesh","id":11624337,"avatar_url":"https://avatars.githubusercontent.com/u/11624337?v=3","gravatar_id":"","url":"https://api.github.com/users/wapatesh","html_url":"https://github.com/wapatesh","followers_url":"https://api.github.com/users/wapatesh/followers","following_url":"https://api.github.com/users/wapatesh/following{/other_user}","gists_url":"https://api.github.com/users/wapatesh/gists{/gist_id}","starred_url":"https://api.github.com/users/wapatesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wapatesh/subscriptions","organizations_url":"https://api.github.com/users/wapatesh/orgs","repos_url":"https://api.github.com/users/wapatesh/repos","events_url":"https://api.github.com/users/wapatesh/events{/privacy}","received_events_url":"https://api.github.com/users/wapatesh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wapatesh/fig","description":"Java lambda supplement","fork":false,"url":"https://api.github.com/repos/wapatesh/fig","forks_url":"https://api.github.com/repos/wapatesh/fig/forks","keys_url":"https://api.github.com/repos/wapatesh/fig/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wapatesh/fig/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wapatesh/fig/teams","hooks_url":"https://api.github.com/repos/wapatesh/fig/hooks","issue_events_url":"https://api.github.com/repos/wapatesh/fig/issues/events{/number}","events_url":"https://api.github.com/repos/wapatesh/fig/events","assignees_url":"https://api.github.com/repos/wapatesh/fig/assignees{/user}","branches_url":"https://api.github.com/repos/wapatesh/fig/branches{/branch}","tags_url":"https://api.github.com/repos/wapatesh/fig/tags","blobs_url":"https://api.github.com/repos/wapatesh/fig/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wapatesh/fig/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wapatesh/fig/git/refs{/sha}","trees_url":"https://api.github.com/repos/wapatesh/fig/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wapatesh/fig/statuses/{sha}","languages_url":"https://api.github.com/repos/wapatesh/fig/languages","stargazers_url":"https://api.github.com/repos/wapatesh/fig/stargazers","contributors_url":"https://api.github.com/repos/wapatesh/fig/contributors","subscribers_url":"https://api.github.com/repos/wapatesh/fig/subscribers","subscription_url":"https://api.github.com/repos/wapatesh/fig/subscription","commits_url":"https://api.github.com/repos/wapatesh/fig/commits{/sha}","git_commits_url":"https://api.github.com/repos/wapatesh/fig/git/commits{/sha}","comments_url":"https://api.github.com/repos/wapatesh/fig/comments{/number}","issue_comment_url":"https://api.github.com/repos/wapatesh/fig/issues/comments{/number}","contents_url":"https://api.github.com/repos/wapatesh/fig/contents/{+path}","compare_url":"https://api.github.com/repos/wapatesh/fig/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wapatesh/fig/merges","archive_url":"https://api.github.com/repos/wapatesh/fig/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wapatesh/fig/downloads","issues_url":"https://api.github.com/repos/wapatesh/fig/issues{/number}","pulls_url":"https://api.github.com/repos/wapatesh/fig/pulls{/number}","milestones_url":"https://api.github.com/repos/wapatesh/fig/milestones{/number}","notifications_url":"https://api.github.com/repos/wapatesh/fig/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wapatesh/fig/labels{/name}","releases_url":"https://api.github.com/repos/wapatesh/fig/releases{/id}","created_at":"2015-07-24T02:48:36Z","updated_at":"2015-07-27T04:50:21Z","pushed_at":"2015-07-27T08:27:54Z","git_url":"git://github.com/wapatesh/fig.git","ssh_url":"git@github.com:wapatesh/fig.git","clone_url":"https://github.com/wapatesh/fig.git","svn_url":"https://github.com/wapatesh/fig","homepage":"http://wapatesh.github.io/fig/","size":0,"stargazers_count":4,"watchers_count":4,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":4,"default_branch":"master"}},"base":{"label":"wapatesh:master","ref":"master","sha":"e6785b8e420c97293a338d2b7a688b2157f53790","user":{"login":"wapatesh","id":11624337,"avatar_url":"https://avatars.githubusercontent.com/u/11624337?v=3","gravatar_id":"","url":"https://api.github.com/users/wapatesh","html_url":"https://github.com/wapatesh","followers_url":"https://api.github.com/users/wapatesh/followers","following_url":"https://api.github.com/users/wapatesh/following{/other_user}","gists_url":"https://api.github.com/users/wapatesh/gists{/gist_id}","starred_url":"https://api.github.com/users/wapatesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wapatesh/subscriptions","organizations_url":"https://api.github.com/users/wapatesh/orgs","repos_url":"https://api.github.com/users/wapatesh/repos","events_url":"https://api.github.com/users/wapatesh/events{/privacy}","received_events_url":"https://api.github.com/users/wapatesh/received_events","type":"Organization","site_admin":false},"repo":{"id":39608148,"name":"fig","full_name":"wapatesh/fig","owner":{"login":"wapatesh","id":11624337,"avatar_url":"https://avatars.githubusercontent.com/u/11624337?v=3","gravatar_id":"","url":"https://api.github.com/users/wapatesh","html_url":"https://github.com/wapatesh","followers_url":"https://api.github.com/users/wapatesh/followers","following_url":"https://api.github.com/users/wapatesh/following{/other_user}","gists_url":"https://api.github.com/users/wapatesh/gists{/gist_id}","starred_url":"https://api.github.com/users/wapatesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wapatesh/subscriptions","organizations_url":"https://api.github.com/users/wapatesh/orgs","repos_url":"https://api.github.com/users/wapatesh/repos","events_url":"https://api.github.com/users/wapatesh/events{/privacy}","received_events_url":"https://api.github.com/users/wapatesh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wapatesh/fig","description":"Java lambda supplement","fork":false,"url":"https://api.github.com/repos/wapatesh/fig","forks_url":"https://api.github.com/repos/wapatesh/fig/forks","keys_url":"https://api.github.com/repos/wapatesh/fig/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wapatesh/fig/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wapatesh/fig/teams","hooks_url":"https://api.github.com/repos/wapatesh/fig/hooks","issue_events_url":"https://api.github.com/repos/wapatesh/fig/issues/events{/number}","events_url":"https://api.github.com/repos/wapatesh/fig/events","assignees_url":"https://api.github.com/repos/wapatesh/fig/assignees{/user}","branches_url":"https://api.github.com/repos/wapatesh/fig/branches{/branch}","tags_url":"https://api.github.com/repos/wapatesh/fig/tags","blobs_url":"https://api.github.com/repos/wapatesh/fig/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wapatesh/fig/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wapatesh/fig/git/refs{/sha}","trees_url":"https://api.github.com/repos/wapatesh/fig/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wapatesh/fig/statuses/{sha}","languages_url":"https://api.github.com/repos/wapatesh/fig/languages","stargazers_url":"https://api.github.com/repos/wapatesh/fig/stargazers","contributors_url":"https://api.github.com/repos/wapatesh/fig/contributors","subscribers_url":"https://api.github.com/repos/wapatesh/fig/subscribers","subscription_url":"https://api.github.com/repos/wapatesh/fig/subscription","commits_url":"https://api.github.com/repos/wapatesh/fig/commits{/sha}","git_commits_url":"https://api.github.com/repos/wapatesh/fig/git/commits{/sha}","comments_url":"https://api.github.com/repos/wapatesh/fig/comments{/number}","issue_comment_url":"https://api.github.com/repos/wapatesh/fig/issues/comments{/number}","contents_url":"https://api.github.com/repos/wapatesh/fig/contents/{+path}","compare_url":"https://api.github.com/repos/wapatesh/fig/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wapatesh/fig/merges","archive_url":"https://api.github.com/repos/wapatesh/fig/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wapatesh/fig/downloads","issues_url":"https://api.github.com/repos/wapatesh/fig/issues{/number}","pulls_url":"https://api.github.com/repos/wapatesh/fig/pulls{/number}","milestones_url":"https://api.github.com/repos/wapatesh/fig/milestones{/number}","notifications_url":"https://api.github.com/repos/wapatesh/fig/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wapatesh/fig/labels{/name}","releases_url":"https://api.github.com/repos/wapatesh/fig/releases{/id}","created_at":"2015-07-24T02:48:36Z","updated_at":"2015-07-27T04:50:21Z","pushed_at":"2015-07-27T08:27:54Z","git_url":"git://github.com/wapatesh/fig.git","ssh_url":"git@github.com:wapatesh/fig.git","clone_url":"https://github.com/wapatesh/fig.git","svn_url":"https://github.com/wapatesh/fig","homepage":"http://wapatesh.github.io/fig/","size":0,"stargazers_count":4,"watchers_count":4,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wapatesh/fig/pulls/4"},"html":{"href":"https://github.com/wapatesh/fig/pull/4"},"issue":{"href":"https://api.github.com/repos/wapatesh/fig/issues/4"},"comments":{"href":"https://api.github.com/repos/wapatesh/fig/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/wapatesh/fig/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/wapatesh/fig/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wapatesh/fig/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/wapatesh/fig/statuses/4e9f44a0a4660c32246cf699f955b515a5da84cf"}}}}