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

7
LINES

< > BotCompany Repo | #1028989 // textsAndTitlesMapFromLCXZSnippet

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

Transpiled version (7618L) is out of date.

1  
static Pair<SS> textsAndTitlesMapFromLCXZSnippet(S snippetID) {
2  
  LineCompReader lcr = new(xzInputStream(loadLibrary(snippetID)));
3  
  Set<S> snippetIDs = mapToTreeSet(s -> fsI(parseFirstInt(s)), startingWithDigit(lcr.versions()));
4  
  SS titles = mapKeys fsI(parseColonProperties(lcr.textForVersion("titles.text")));
5  
  SS texts = new ValueOnDemandMap<S>(snippetIDs, s -> lcr.textForVersion(psI(s) + ".text"));
6  
  ret pair(texts, titles);
7  
}

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: #1028989
Snippet name: textsAndTitlesMapFromLCXZSnippet
Eternal ID of this version: #1028989/5
Text MD5: 5386542a3404b4fcc874f3dc170b0852
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-16 15:56:38
Source code size: 441 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 232 / 328
Version history: 4 change(s)
Referenced in: [show references]