Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1027231 // bestScored

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2351L/15K).

static <A> Scored<A> bestScored(Iterable<Scored<A>> l) {
  ret highestByFunction(a -> a.score, l);
}

Author comment

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: 237 / 302
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)