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.

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

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: 230 / 324
Version history: 4 change(s)
Referenced in: [show references]