Uses 11335K of libraries. Click here for Pure Java version (8245L/53K).
1 | static LineCompedSingle<Char> lineCompedSingleFromCompressor(LineCompCompressor compressor) { |
2 | new L<Char> literals; |
3 | new L<IntPair> pairs; |
4 | for (LineCompCompressor.Chunk c : compressor.chunks) |
5 | if (c cast LineCompCompressor.CPair) |
6 | pairs.add(IntPair(c.i1, c.i2)); |
7 | else |
8 | literals.add(charFromHex(((LineCompCompressor.CPrim) c).s)); |
9 | ret new LineCompedSingle<Char>(literals, pairs, firstValue(compressor.finalEncodings)); |
10 | } |
Began life as a copy of #1028766
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1029172 |
Snippet name: | lineCompedSingleFromCompressor |
Eternal ID of this version: | #1029172/1 |
Text MD5: | 900d9b450b82e566cb7b85cabf7e6964 |
Transpilation MD5: | e2d439b41940f2bd812f054167bbee9c |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-23 19:06:14 |
Source code size: | 452 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 217 / 309 |
Referenced in: | [show references] |