static void clearAllTokens(L<S> tok) { for (int i = 0; i < tok.size(); i++) tok.set(i, ""); } static void clearAllTokens(L<S> tok, int i, int j) { for (; i < j; i++) tok.set(i, ""); }
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1001158 |
Snippet name: | clearAllTokens |
Eternal ID of this version: | #1001158/1 |
Text MD5: | 9fe59deae161f411f0bd634b058fdbdf |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-12-01 17:46:47 |
Source code size: | 222 bytes / 9 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 640 / 2310 |
Referenced in: | #1002427 - Accellerating 629 (SPIKE) #1003478 - clearTokens - synonym of clearAllTokens #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1020208 - clearToken #1028760 - clearTokensExceptFromSet #3000382 - Answer for ferdie (>> t = 1, f = 0) |