Libraryless. Click here for Pure Java version (2351L/15K).
1 | static <A> Scored<A> bestScored(Iterable<Scored<A>> l) { |
2 | ret highestByFunction(a -> a.score, l); |
3 | } |
Began life as a copy of #1024986
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: | #1027231 |
Snippet name: | bestScored |
Eternal ID of this version: | #1027231/1 |
Text MD5: | d3581b08324f901a4a6fbd8589165f15 |
Transpilation MD5: | 45960ef42f58d673c10641310c9990b1 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-02-26 14:28:53 |
Source code size: | 102 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 236 / 301 |
Referenced in: | [show references] |