Libraryless. Click here for Pure Java version (4121L/24K).
static <A, B extends Number> Scored<A> scoredWithMapValue(Map<A, B> map, A a) { ret Scored(a, toDouble(mapGet(map, a))); }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
| Snippet ID: | #1032519 |
| Snippet name: | scoredWithMapValue |
| Eternal ID of this version: | #1032519/2 |
| Text MD5: | ba5ad7e62243b3ddbc4e658347ff49b5 |
| Transpilation MD5: | 3cff5cf80151cb6a3582d6f5988f0f96 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-09-14 15:54:00 |
| Source code size: | 126 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 349 / 501 |
| Version history: | 1 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |