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

10
LINES

< > BotCompany Repo | #1021639 // gazelle_zip - tokenize & zip code tokens to ci-map. null if no match possible (differing token counts)

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

Libraryless. Click here for Pure Java version (2811L/18K).

static SS gazelle_zip(S inputA, S inputB, O... _) {
  O tokenizer = optPar tokenizer(_, gazelle_zip_defaultTokenizer());
  ret gazelle_zipTwoTokenizationsToMap(
    callTokenizer(tokenizer, inputA),
    callTokenizer(tokenizer, inputB));
}

static SS gazelle_zip(Pair<S> inputs, O... _) {
  ret inputs == null ? null : gazelle_zip(inputs.a, inputs.b, _);
}

Author comment

Began life as a copy of #1021604

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1021639
Snippet name: gazelle_zip - tokenize & zip code tokens to ci-map. null if no match possible (differing token counts)
Eternal ID of this version: #1021639/11
Text MD5: 2ac0e337ab2b44de3607be10d74fcbcb
Transpilation MD5: 0192bff9487ef944bb7f7066eb618b10
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-14 00:29:30
Source code size: 365 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 451 / 535
Version history: 10 change(s)
Referenced in: [show references]