Libraryless. Click here for Pure Java version (2614L/16K).
1 | static <A> Scored<A> scored(A a, float score) { |
2 | ret Scored(a, score); |
3 | } |
4 | |
5 | static <A> Scored<A> scored(A a, double score) { |
6 | ret Scored(a, (float) score); |
7 | } |
8 | |
9 | static <A> Scored<A> scored(A a, Scored scored) { |
10 | ret Scored(a, getScore(scored)); |
11 | } |
12 | |
13 | static <A> Scored<A> scored(double score, A a) { |
14 | ret scored(a, score); |
15 | } |
Began life as a copy of #1015271
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1015272 |
Snippet name: | scored |
Eternal ID of this version: | #1015272/3 |
Text MD5: | cbde159c2c787c429a9e5fc681d2a49c |
Transpilation MD5: | 80f23c8fa98bd0b41e14af21abf2a85e |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-05-19 22:27:06 |
Source code size: | 335 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 411 / 523 |
Version history: | 2 change(s) |
Referenced in: | [show references] |