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

7
LINES

< > BotCompany Repo | #1022852 // tok_remainingIndices (after taking out BitSet)

JavaX fragment (include)

static BitSet tok_remainingIndices(LS tok, BitSet marked) {
  new BitSet out;
  for (int i = 1; i < l(tok); i += 2)
    if (!getBit(marked, i))
      setBit(out, i);
  ret out;
}

Author comment

Began life as a copy of #1022850

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1022852
Snippet name: tok_remainingIndices (after taking out BitSet)
Eternal ID of this version: #1022852/1
Text MD5: 7ff3b0545b4252859fe74a8b240d1030
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-10 22:44:51
Source code size: 184 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 228 / 256
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)