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

3
LINES

< > BotCompany Repo | #1019537 // copyBestIfAtLeast

JavaX fragment (include)

static <A> void copyBestIfAtLeast(Best<A> a, Best<A> b, double minScore) {
  if (a.score() >= minScore) copyBest(a, b);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019537
Snippet name: copyBestIfAtLeast
Eternal ID of this version: #1019537/2
Text MD5: f57e091ee637434ddd24ec56afa9a9d3
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-11 20:54:04
Source code size: 123 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 171 / 210
Version history: 1 change(s)
Referenced in: [show references]