static void appendBits(Bits a, Bits b) { int n = a.n; BitSet bs = b.bs, bs2 = a.bs; for (int i = bs.nextSetBit(0); i >= 0; i = bs.nextSetBit(i+1)) bs2.set(n+i); a.n += b.n; }
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: | #1006148 | 
| Snippet name: | appendBits - append contents of one Bits to another one | 
| Eternal ID of this version: | #1006148/1 | 
| Text MD5: | 1055f218a27d771abbdeeea6995dbe27 | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2016-12-21 16:53:35 | 
| Source code size: | 192 bytes / 7 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 729 / 751 | 
| Referenced in: | [show references] |