Libraryless. Click here for Pure Java version (7948L/45K).
static <A> Pair<A, Double> pairWithLowestB(Iterable<Pair<A, Double>> l) { new Lowest<Pair<A, Double>> lowest; fOr (p : l) lowest.put(p, p.b); ret lowest!; }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1035273 |
Snippet name: | pairWithLowestB |
Eternal ID of this version: | #1035273/2 |
Text MD5: | 861882e7460195b7ba3bd48e574c7f65 |
Transpilation MD5: | 199665cf5c0bc751df7e8065251b1e47 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-04-28 20:10:45 |
Source code size: | 171 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 136 / 196 |
Version history: | 1 change(s) |
Referenced in: | [show references] |