{"action":"opened","number":499,"pull_request":{"url":"https://api.github.com/repos/javafxports/openjdk-jfx/pulls/499","id":287669994,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjg3NjY5OTk0","html_url":"https://github.com/javafxports/openjdk-jfx/pull/499","diff_url":"https://github.com/javafxports/openjdk-jfx/pull/499.diff","patch_url":"https://github.com/javafxports/openjdk-jfx/pull/499.patch","issue_url":"https://api.github.com/repos/javafxports/openjdk-jfx/issues/499","number":499,"state":"open","locked":false,"title":"JDK-8091967: Add a MappedList Implementation","user":{"login":"madoar","id":18488086,"node_id":"MDQ6VXNlcjE4NDg4MDg2","avatar_url":"https://avatars0.githubusercontent.com/u/18488086?v=4","gravatar_id":"","url":"https://api.github.com/users/madoar","html_url":"https://github.com/madoar","followers_url":"https://api.github.com/users/madoar/followers","following_url":"https://api.github.com/users/madoar/following{/other_user}","gists_url":"https://api.github.com/users/madoar/gists{/gist_id}","starred_url":"https://api.github.com/users/madoar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madoar/subscriptions","organizations_url":"https://api.github.com/users/madoar/orgs","repos_url":"https://api.github.com/users/madoar/repos","events_url":"https://api.github.com/users/madoar/events{/privacy}","received_events_url":"https://api.github.com/users/madoar/received_events","type":"User","site_admin":false},"body":"This PR adds a `MappedList` class (and corresponding tests) to OpenJFX.\r\n\r\nThe `MappedList` class takes a source `ObservableList` and a mapper `Function` as its arguments and applies the mapper function on each object inside the source list. The result is then returned as the content of the `MappedList`.\r\n\r\nIn case no mapper function is applied (i.e. `mapper = null`), the `MappedList` acts as an empty list with a size of zero.\r\n\r\nCorresponding GitHub issue: #303\r\nCorresponding JBS issue: https://bugs.openjdk.java.net/browse/JDK-8091967\r\n\r\nThe code is based on my implementation done in: https://github.com/PhoenicisOrg/javafx-collections\r\n\r\nI'm not sure about the code standards for this project therefore I've just done some slight changes to make the classes (`MappedList` and `MappedListTest`) fit better together with the other `TransformationList` implementations. Therefore if you have any requirements for the code feel free to tell me so that I can make the necessary changes, otherwise I hope that my implementation finds approval.","created_at":"2019-06-12T20:46:19Z","updated_at":"2019-06-12T20:46:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/javafxports/openjdk-jfx/pulls/499/commits","review_comments_url":"https://api.github.com/repos/javafxports/openjdk-jfx/pulls/499/comments","review_comment_url":"https://api.github.com/repos/javafxports/openjdk-jfx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/javafxports/openjdk-jfx/issues/499/comments","statuses_url":"https://api.github.com/repos/javafxports/openjdk-jfx/statuses/ddde1340a3b433fdcdd89c78654e751f69459587","head":{"label":"madoar:add-mapped-list","ref":"add-mapped-list","sha":"ddde1340a3b433fdcdd89c78654e751f69459587","user":{"login":"madoar","id":18488086,"node_id":"MDQ6VXNlcjE4NDg4MDg2","avatar_url":"https://avatars0.githubusercontent.com/u/18488086?v=4","gravatar_id":"","url":"https://api.github.com/users/madoar","html_url":"https://github.com/madoar","followers_url":"https://api.github.com/users/madoar/followers","following_url":"https://api.github.com/users/madoar/following{/other_user}","gists_url":"https://api.github.com/users/madoar/gists{/gist_id}","starred_url":"https://api.github.com/users/madoar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madoar/subscriptions","organizations_url":"https://api.github.com/users/madoar/orgs","repos_url":"https://api.github.com/users/madoar/repos","events_url":"https://api.github.com/users/madoar/events{/privacy}","received_events_url":"https://api.github.com/users/madoar/received_events","type":"User","site_admin":false},"repo":{"id":191637566,"node_id":"MDEwOlJlcG9zaXRvcnkxOTE2Mzc1NjY=","name":"openjdk-jfx","full_name":"madoar/openjdk-jfx","private":false,"owner":{"login":"madoar","id":18488086,"node_id":"MDQ6VXNlcjE4NDg4MDg2","avatar_url":"https://avatars0.githubusercontent.com/u/18488086?v=4","gravatar_id":"","url":"https://api.github.com/users/madoar","html_url":"https://github.com/madoar","followers_url":"https://api.github.com/users/madoar/followers","following_url":"https://api.github.com/users/madoar/following{/other_user}","gists_url":"https://api.github.com/users/madoar/gists{/gist_id}","starred_url":"https://api.github.com/users/madoar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madoar/subscriptions","organizations_url":"https://api.github.com/users/madoar/orgs","repos_url":"https://api.github.com/users/madoar/repos","events_url":"https://api.github.com/users/madoar/events{/privacy}","received_events_url":"https://api.github.com/users/madoar/received_events","type":"User","site_admin":false},"html_url":"https://github.com/madoar/openjdk-jfx","description":"Mirror of the OpenJFX repository","fork":true,"url":"https://api.github.com/repos/madoar/openjdk-jfx","forks_url":"https://api.github.com/repos/madoar/openjdk-jfx/forks","keys_url":"https://api.github.com/repos/madoar/openjdk-jfx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/madoar/openjdk-jfx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/madoar/openjdk-jfx/teams","hooks_url":"https://api.github.com/repos/madoar/openjdk-jfx/hooks","issue_events_url":"https://api.github.com/repos/madoar/openjdk-jfx/issues/events{/number}","events_url":"https://api.github.com/repos/madoar/openjdk-jfx/events","assignees_url":"https://api.github.com/repos/madoar/openjdk-jfx/assignees{/user}","branches_url":"https://api.github.com/repos/madoar/openjdk-jfx/branches{/branch}","tags_url":"https://api.github.com/repos/madoar/openjdk-jfx/tags","blobs_url":"https://api.github.com/repos/madoar/openjdk-jfx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/madoar/openjdk-jfx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/madoar/openjdk-jfx/git/refs{/sha}","trees_url":"https://api.github.com/repos/madoar/openjdk-jfx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/madoar/openjdk-jfx/statuses/{sha}","languages_url":"https://api.github.com/repos/madoar/openjdk-jfx/languages","stargazers_url":"https://api.github.com/repos/madoar/openjdk-jfx/stargazers","contributors_url":"https://api.github.com/repos/madoar/openjdk-jfx/contributors","subscribers_url":"https://api.github.com/repos/madoar/openjdk-jfx/subscribers","subscription_url":"https://api.github.com/repos/madoar/openjdk-jfx/subscription","commits_url":"https://api.github.com/repos/madoar/openjdk-jfx/commits{/sha}","git_commits_url":"https://api.github.com/repos/madoar/openjdk-jfx/git/commits{/sha}","comments_url":"https://api.github.com/repos/madoar/openjdk-jfx/comments{/number}","issue_comment_url":"https://api.github.com/repos/madoar/openjdk-jfx/issues/comments{/number}","contents_url":"https://api.github.com/repos/madoar/openjdk-jfx/contents/{+path}","compare_url":"https://api.github.com/repos/madoar/openjdk-jfx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/madoar/openjdk-jfx/merges","archive_url":"https://api.github.com/repos/madoar/openjdk-jfx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/madoar/openjdk-jfx/downloads","issues_url":"https://api.github.com/repos/madoar/openjdk-jfx/issues{/number}","pulls_url":"https://api.github.com/repos/madoar/openjdk-jfx/pulls{/number}","milestones_url":"https://api.github.com/repos/madoar/openjdk-jfx/milestones{/number}","notifications_url":"https://api.github.com/repos/madoar/openjdk-jfx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/madoar/openjdk-jfx/labels{/name}","releases_url":"https://api.github.com/repos/madoar/openjdk-jfx/releases{/id}","deployments_url":"https://api.github.com/repos/madoar/openjdk-jfx/deployments","created_at":"2019-06-12T20:10:30Z","updated_at":"2019-06-12T20:11:42Z","pushed_at":"2019-06-12T20:35:11Z","git_url":"git://github.com/madoar/openjdk-jfx.git","ssh_url":"git@github.com:madoar/openjdk-jfx.git","clone_url":"https://github.com/madoar/openjdk-jfx.git","svn_url":"https://github.com/madoar/openjdk-jfx","homepage":"https://hg.openjdk.java.net/openjfx/jfx-dev/rt","size":525334,"stargazers_count":0,"watchers_count":0,"language":"C++","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":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"javafxports:develop","ref":"develop","sha":"519f04fead8b9d714afc4f9d74c21bbc05d1f39a","user":{"login":"javafxports","id":34437418,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NDM3NDE4","avatar_url":"https://avatars3.githubusercontent.com/u/34437418?v=4","gravatar_id":"","url":"https://api.github.com/users/javafxports","html_url":"https://github.com/javafxports","followers_url":"https://api.github.com/users/javafxports/followers","following_url":"https://api.github.com/users/javafxports/following{/other_user}","gists_url":"https://api.github.com/users/javafxports/gists{/gist_id}","starred_url":"https://api.github.com/users/javafxports/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javafxports/subscriptions","organizations_url":"https://api.github.com/users/javafxports/orgs","repos_url":"https://api.github.com/users/javafxports/repos","events_url":"https://api.github.com/users/javafxports/events{/privacy}","received_events_url":"https://api.github.com/users/javafxports/received_events","type":"Organization","site_admin":false},"repo":{"id":121499201,"node_id":"MDEwOlJlcG9zaXRvcnkxMjE0OTkyMDE=","name":"openjdk-jfx","full_name":"javafxports/openjdk-jfx","private":false,"owner":{"login":"javafxports","id":34437418,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NDM3NDE4","avatar_url":"https://avatars3.githubusercontent.com/u/34437418?v=4","gravatar_id":"","url":"https://api.github.com/users/javafxports","html_url":"https://github.com/javafxports","followers_url":"https://api.github.com/users/javafxports/followers","following_url":"https://api.github.com/users/javafxports/following{/other_user}","gists_url":"https://api.github.com/users/javafxports/gists{/gist_id}","starred_url":"https://api.github.com/users/javafxports/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javafxports/subscriptions","organizations_url":"https://api.github.com/users/javafxports/orgs","repos_url":"https://api.github.com/users/javafxports/repos","events_url":"https://api.github.com/users/javafxports/events{/privacy}","received_events_url":"https://api.github.com/users/javafxports/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/javafxports/openjdk-jfx","description":"Mirror of the OpenJFX repository","fork":false,"url":"https://api.github.com/repos/javafxports/openjdk-jfx","forks_url":"https://api.github.com/repos/javafxports/openjdk-jfx/forks","keys_url":"https://api.github.com/repos/javafxports/openjdk-jfx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/javafxports/openjdk-jfx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/javafxports/openjdk-jfx/teams","hooks_url":"https://api.github.com/repos/javafxports/openjdk-jfx/hooks","issue_events_url":"https://api.github.com/repos/javafxports/openjdk-jfx/issues/events{/number}","events_url":"https://api.github.com/repos/javafxports/openjdk-jfx/events","assignees_url":"https://api.github.com/repos/javafxports/openjdk-jfx/assignees{/user}","branches_url":"https://api.github.com/repos/javafxports/openjdk-jfx/branches{/branch}","tags_url":"https://api.github.com/repos/javafxports/openjdk-jfx/tags","blobs_url":"https://api.github.com/repos/javafxports/openjdk-jfx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/javafxports/openjdk-jfx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/javafxports/openjdk-jfx/git/refs{/sha}","trees_url":"https://api.github.com/repos/javafxports/openjdk-jfx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/javafxports/openjdk-jfx/statuses/{sha}","languages_url":"https://api.github.com/repos/javafxports/openjdk-jfx/languages","stargazers_url":"https://api.github.com/repos/javafxports/openjdk-jfx/stargazers","contributors_url":"https://api.github.com/repos/javafxports/openjdk-jfx/contributors","subscribers_url":"https://api.github.com/repos/javafxports/openjdk-jfx/subscribers","subscription_url":"https://api.github.com/repos/javafxports/openjdk-jfx/subscription","commits_url":"https://api.github.com/repos/javafxports/openjdk-jfx/commits{/sha}","git_commits_url":"https://api.github.com/repos/javafxports/openjdk-jfx/git/commits{/sha}","comments_url":"https://api.github.com/repos/javafxports/openjdk-jfx/comments{/number}","issue_comment_url":"https://api.github.com/repos/javafxports/openjdk-jfx/issues/comments{/number}","contents_url":"https://api.github.com/repos/javafxports/openjdk-jfx/contents/{+path}","compare_url":"https://api.github.com/repos/javafxports/openjdk-jfx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/javafxports/openjdk-jfx/merges","archive_url":"https://api.github.com/repos/javafxports/openjdk-jfx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/javafxports/openjdk-jfx/downloads","issues_url":"https://api.github.com/repos/javafxports/openjdk-jfx/issues{/number}","pulls_url":"https://api.github.com/repos/javafxports/openjdk-jfx/pulls{/number}","milestones_url":"https://api.github.com/repos/javafxports/openjdk-jfx/milestones{/number}","notifications_url":"https://api.github.com/repos/javafxports/openjdk-jfx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/javafxports/openjdk-jfx/labels{/name}","releases_url":"https://api.github.com/repos/javafxports/openjdk-jfx/releases{/id}","deployments_url":"https://api.github.com/repos/javafxports/openjdk-jfx/deployments","created_at":"2018-02-14T10:41:28Z","updated_at":"2019-06-12T18:50:34Z","pushed_at":"2019-06-12T20:28:45Z","git_url":"git://github.com/javafxports/openjdk-jfx.git","ssh_url":"git@github.com:javafxports/openjdk-jfx.git","clone_url":"https://github.com/javafxports/openjdk-jfx.git","svn_url":"https://github.com/javafxports/openjdk-jfx","homepage":"https://hg.openjdk.java.net/openjfx/jfx-dev/rt","size":525334,"stargazers_count":838,"watchers_count":838,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":134,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":170,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":134,"open_issues":170,"watchers":838,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/javafxports/openjdk-jfx/pulls/499"},"html":{"href":"https://github.com/javafxports/openjdk-jfx/pull/499"},"issue":{"href":"https://api.github.com/repos/javafxports/openjdk-jfx/issues/499"},"comments":{"href":"https://api.github.com/repos/javafxports/openjdk-jfx/issues/499/comments"},"review_comments":{"href":"https://api.github.com/repos/javafxports/openjdk-jfx/pulls/499/comments"},"review_comment":{"href":"https://api.github.com/repos/javafxports/openjdk-jfx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/javafxports/openjdk-jfx/pulls/499/commits"},"statuses":{"href":"https://api.github.com/repos/javafxports/openjdk-jfx/statuses/ddde1340a3b433fdcdd89c78654e751f69459587"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":403,"deletions":0,"changed_files":3}}
{"actor":{"display_login":"madoar"}}