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

6
LINES

< > BotCompany Repo | #1014727 // listWithoutIndicesInBitSet

JavaX fragment (include)

static <A> L<A> listWithoutIndicesInBitSet(L<A> l, BitSet bs) {
  new L<A> out;
  for i over l:
    if (!bs.get(i)) out.add(l.get(i));
  ret out;
}

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: #1014727
Snippet name: listWithoutIndicesInBitSet
Eternal ID of this version: #1014727/1
Text MD5: 46fb9632de44427f0291d5c1c16d3766
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-01 14:29:37
Source code size: 152 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 357 / 385
Referenced in: [show references]