static S formatXYZ_appendRest(S pattern, L<S> args) { L<S> tok = javaTokC(pattern); L<S> restArgs = cloneList(args); for (int idx : (L<Int>) reverseSorted(map(f formatXYZ_varToIndex_maybeQuoted, tok))) remove(restArgs, idx-1); ret join(" ", concatLists( ll(formatXYZ(pattern, args)), restArgs)); }
Began life as a copy of #1007412
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1007499 |
Snippet name: | formatXYZ_appendRest - formatXYZ & append all unused arguments |
Eternal ID of this version: | #1007499/8 |
Text MD5: | 7acd025d14d114c06f75da226393230a |
Author: | stefan |
Category: | javax / formatting |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-04-24 20:04:16 |
Source code size: | 325 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 591 / 589 |
Version history: | 7 change(s) |
Referenced in: | [show references] |