Libraryless. Click here for Pure Java version (2809L/18K).
static <A> A keyWithLongestStringValue(Map<A, S> map) { new Best<A> best; fOr (A key, S value : map) best.put(key, l(value)); ret best!; }
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: | 158 / 247 |
Referenced in: | [show references] |