Uses 11335K of libraries. Click here for Pure Java version (8245L/53K).
static LineCompedSingle<Char> lineCompedSingleFromCompressor(LineCompCompressor compressor) { new L<Char> literals; new L<IntPair> pairs; for (LineCompCompressor.Chunk c : compressor.chunks) if (c cast LineCompCompressor.CPair) pairs.add(IntPair(c.i1, c.i2)); else literals.add(charFromHex(((LineCompCompressor.CPrim) c).s)); ret new LineCompedSingle<Char>(literals, pairs, firstValue(compressor.finalEncodings)); }
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: | 216 / 308 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |