{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/eclipse-collections/issues/457","repository_url":"https://api.github.com/repos/eclipse/eclipse-collections","labels_url":"https://api.github.com/repos/eclipse/eclipse-collections/issues/457/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/eclipse-collections/issues/457/comments","events_url":"https://api.github.com/repos/eclipse/eclipse-collections/issues/457/events","html_url":"https://github.com/eclipse/eclipse-collections/issues/457","id":293955084,"number":457,"title":"Implement a Map factory method that takes a Map parameter.","user":{"login":"motlin","id":244258,"avatar_url":"https://avatars3.githubusercontent.com/u/244258?v=4","gravatar_id":"","url":"https://api.github.com/users/motlin","html_url":"https://github.com/motlin","followers_url":"https://api.github.com/users/motlin/followers","following_url":"https://api.github.com/users/motlin/following{/other_user}","gists_url":"https://api.github.com/users/motlin/gists{/gist_id}","starred_url":"https://api.github.com/users/motlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/motlin/subscriptions","organizations_url":"https://api.github.com/users/motlin/orgs","repos_url":"https://api.github.com/users/motlin/repos","events_url":"https://api.github.com/users/motlin/events{/privacy}","received_events_url":"https://api.github.com/users/motlin/received_events","type":"User","site_admin":false},"labels":[{"id":291113974,"url":"https://api.github.com/repos/eclipse/eclipse-collections/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":311923152,"url":"https://api.github.com/repos/eclipse/eclipse-collections/labels/major-version","name":"major-version","color":"fad8c7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-02T16:56:48Z","updated_at":"2018-02-03T15:10:48Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Something like this:\r\n```java\r\nMaps.mutable.withMap(map)\r\n```\r\nI'm not sure if `map` should be `java.util.Map` or `MapIterable` though. I suppose we could add MapIterable.toMutable() so that the factory would work best with `java.util.Map`. Thoughts?"},"comment":{"url":"https://api.github.com/repos/eclipse/eclipse-collections/issues/comments/362819958","html_url":"https://github.com/eclipse/eclipse-collections/issues/457#issuecomment-362819958","issue_url":"https://api.github.com/repos/eclipse/eclipse-collections/issues/457","id":362819958,"user":{"login":"motlin","id":244258,"avatar_url":"https://avatars3.githubusercontent.com/u/244258?v=4","gravatar_id":"","url":"https://api.github.com/users/motlin","html_url":"https://github.com/motlin","followers_url":"https://api.github.com/users/motlin/followers","following_url":"https://api.github.com/users/motlin/following{/other_user}","gists_url":"https://api.github.com/users/motlin/gists{/gist_id}","starred_url":"https://api.github.com/users/motlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/motlin/subscriptions","organizations_url":"https://api.github.com/users/motlin/orgs","repos_url":"https://api.github.com/users/motlin/repos","events_url":"https://api.github.com/users/motlin/events{/privacy}","received_events_url":"https://api.github.com/users/motlin/received_events","type":"User","site_admin":false},"created_at":"2018-02-03T15:10:48Z","updated_at":"2018-02-03T15:10:48Z","author_association":"CONTRIBUTOR","body":"I mostly agree, except it cannot return `this` for ImmutableMapIterable, it has to make a copy in all cases.\r\n\r\nWe should delegate to forEachKeyValue if available, and entrySet otherwise."}}
{"actor":{"display_login":"motlin"}}