Skip to content

Conversation

@Daniel-B-Smith
Copy link
Contributor

The prior comment was unclear that the result of calling value() was the key that was found by the KeySelector. I didn't realize what that method did until reading the code. I was assuming that the output of value() would be the value associated with the located key.

Personally, I would be tempted to change the name of the method to key() to avoid confusion with the value associated with the key. Regardless of making that backwards incompatible change, this comment should make it easier to use.

@Speedy37 Speedy37 merged commit c548133 into Clikengo:master Nov 19, 2019
@Daniel-B-Smith Daniel-B-Smith deleted the get_key_comment branch November 22, 2019 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants