static <A> ParsedWithTokens<A> pwt_winner(ParsedWithTokens<A> a, ParsedWithTokens<A> b) { ret a == null ? b : b == null ? a : a.length() >= b.length() ? a : b; }
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: | #1028586 |
Snippet name: | pwt_winner - return longer parse of two parses |
Eternal ID of this version: | #1028586/1 |
Text MD5: | 85158fbed55da5b4254f2b13300d3267 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-06-27 21:41:19 |
Source code size: | 165 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 180 / 214 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |