Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

9
LINES

< > BotCompany Repo | #1001158 - clearAllTokens

JavaX fragment (include)

  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   

Travelled to 10 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, tslmcundralx, tvejysmllsmz

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: 290 / 1825
Referenced in: [show references]

Formerly at http://tinybrain.de/1001158 & http://1001158.tinybrain.de