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

9
LINES

< > BotCompany Repo | #1028777 // lcEncodingsAsStringLists - to show repeated strings naturally

JavaX fragment (include) [tags: use-pretranspiled]

Uses 11335K of libraries. Click here for Pure Java version (7855L/51K).

static Map<S, LS> lcEncodingsAsStringLists(LineCompCompressor lc) {
  ret mapValues(lc.finalEncodings, l -> map(l, i -> lc.itemToString(i)));
}

ifclass LCLongerProds
static Map<S, LS> lcEncodingsAsStringLists(LCLongerProds lc) {
  ret mapValues(lc.files, l -> map(l, i -> lc.itemToString(i)));
}
endif

Author comment

Began life as a copy of #1028765

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: #1028777
Snippet name: lcEncodingsAsStringLists - to show repeated strings naturally
Eternal ID of this version: #1028777/8
Text MD5: ca593c4093f235fc9eb71ed209e31051
Transpilation MD5: 54cc462e217d70c1e4d6bcf5df5ded83
Author: stefan
Category: javax / linecomp
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-10 13:59:31
Source code size: 310 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 209 / 318
Version history: 7 change(s)
Referenced in: [show references]