Libraryless. Click here for Pure Java version (1840L/12K/41K).
1 | !752 |
2 | |
3 | p { |
4 | new BitSet bs; |
5 | bs.set(1); |
6 | bs.set(100); |
7 | S s = structure(bs); |
8 | print(s); |
9 | BitSet bs2 = cast unstructure(s); |
10 | assertEquals(bs, bs2); |
11 | assertEquals(new BitSet, restructure(new BitSet)); |
12 | print("ok"); |
13 | } |
Began life as a copy of #1004990
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005047 |
Snippet name: | Test structure/unstructure with BitSet |
Eternal ID of this version: | #1005047/1 |
Text MD5: | 5b7ec4a79bf98637c840cc635f59b31e |
Transpilation MD5: | f2942307b701703ee13921db1de88393 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-10-03 20:06:21 |
Source code size: | 232 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 546 / 602 |
Referenced in: | [show references] |