{"action":"created","issue":{"url":"https://api.github.com/repos/google/guava/issues/2540","repository_url":"https://api.github.com/repos/google/guava","labels_url":"https://api.github.com/repos/google/guava/issues/2540/labels{/name}","comments_url":"https://api.github.com/repos/google/guava/issues/2540/comments","events_url":"https://api.github.com/repos/google/guava/issues/2540/events","html_url":"https://github.com/google/guava/issues/2540","id":168576108,"number":2540,"title":"Entries returned by TreeRangeMap.getEntry() should support setValue()","user":{"login":"dimo414","id":1885701,"avatar_url":"https://avatars.githubusercontent.com/u/1885701?v=3","gravatar_id":"","url":"https://api.github.com/users/dimo414","html_url":"https://github.com/dimo414","followers_url":"https://api.github.com/users/dimo414/followers","following_url":"https://api.github.com/users/dimo414/following{/other_user}","gists_url":"https://api.github.com/users/dimo414/gists{/gist_id}","starred_url":"https://api.github.com/users/dimo414/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimo414/subscriptions","organizations_url":"https://api.github.com/users/dimo414/orgs","repos_url":"https://api.github.com/users/dimo414/repos","events_url":"https://api.github.com/users/dimo414/events{/privacy}","received_events_url":"https://api.github.com/users/dimo414/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-01T06:32:28Z","updated_at":"2016-10-10T16:33:01Z","closed_at":null,"body":"[`TreeRangeMap.getEntry()`](https://google.github.io/guava/releases/snapshot/api/docs/com/google/common/collect/TreeRangeMap.html#getEntry(K)) returns a `Map.Entry` that doesn't support [`Map.Entry.setValue()`](http://docs.oracle.com/javase/7/docs/api/java/util/Map.Entry.html#setValue(V)). This would be particularly useful for `RangeMap`s, where the caller may not know in advance what the actual key (the range) is."},"comment":{"url":"https://api.github.com/repos/google/guava/issues/comments/252672792","html_url":"https://github.com/google/guava/issues/2540#issuecomment-252672792","issue_url":"https://api.github.com/repos/google/guava/issues/2540","id":252672792,"user":{"login":"bjmi","id":2063480,"avatar_url":"https://avatars.githubusercontent.com/u/2063480?v=3","gravatar_id":"","url":"https://api.github.com/users/bjmi","html_url":"https://github.com/bjmi","followers_url":"https://api.github.com/users/bjmi/followers","following_url":"https://api.github.com/users/bjmi/following{/other_user}","gists_url":"https://api.github.com/users/bjmi/gists{/gist_id}","starred_url":"https://api.github.com/users/bjmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjmi/subscriptions","organizations_url":"https://api.github.com/users/bjmi/orgs","repos_url":"https://api.github.com/users/bjmi/repos","events_url":"https://api.github.com/users/bjmi/events{/privacy}","received_events_url":"https://api.github.com/users/bjmi/received_events","type":"User","site_admin":false},"created_at":"2016-10-10T16:33:01Z","updated_at":"2016-10-10T16:33:01Z","body":"Strange, `TreeMap.Entry.setValue(V)` **is** supported, at least Oracle Java."}}
{"actor":{"display_login":"bjmi"}}