Libraryless. Click here for Pure Java version (2848L/18K).
static <A> L<ParsedWithTokens<A>> pwt_topDogs(Iterable<ParsedWithTokens<A>> l) { new L<ParsedWithTokens<A>> topDogs; fOr (ParsedWithTokens<A> p : l) for (int i = p.iStart; i < p.iRemaining; i += 2) listPut(topDogs, i, pwt_winner(_get(topDogs, i), p)); ret uniquify(nonNulls(topDogs)); }
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: | #1028592 |
Snippet name: | pwt_topDogs |
Eternal ID of this version: | #1028592/4 |
Text MD5: | 49d6651cbf667ef0f0523d1722966299 |
Transpilation MD5: | 41f9dd2e4b42eca28f244b11ad5fdf4e |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-06-28 00:43:08 |
Source code size: | 308 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 225 / 334 |
Version history: | 3 change(s) |
Referenced in: | [show references] |