Libraryless. Click here for Pure Java version (4564L/29K).
static Set<S> sliceDump_pageNamesIncludingKeys(File f) { Set<S> names = ciSet(); temp CloseableIterableIterator<S> it = linesFromFile(f); while (it.hasNext()) pcall { S s = trim(it.next()); if (empty(s)) continue; if (startsWith(s, '"')) continue with names.add(unquote(s)); L l = optCast(L, safeUnstructure(s)); if (l(l) != 3) continue with print("Can't parse: " + s); names.add((S) second(l)); } ret names; }
Began life as a copy of #1024345
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1024348 |
Snippet name: | sliceDump_pageNamesIncludingKeys |
Eternal ID of this version: | #1024348/1 |
Text MD5: | 1e6f38f94425fde21dcfda5d0626cee5 |
Transpilation MD5: | 9b7676cd0ec4d1b5a150c070161a15bf |
Author: | stefan |
Category: | javax / agi.blue |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-08-04 16:06:35 |
Source code size: | 463 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 222 / 297 |
Referenced in: | [show references] |