Libraryless. Click here for Pure Java version (2809L/18K).
1 | static <A> A keyWithLongestStringValue(Map<A, S> map) { |
2 | new Best<A> best; |
3 | fOr (A key, S value : map) |
4 | best.put(key, l(value)); |
5 | ret best!; |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1029007 |
Snippet name: | keyWithLongestStringValue |
Eternal ID of this version: | #1029007/1 |
Text MD5: | fadfce026ab2d0043a71c3970a96715e |
Transpilation MD5: | fc9279f139462053f326c487a7ca2957 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-16 19:08:36 |
Source code size: | 153 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 159 / 248 |
Referenced in: | [show references] |