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

10
LINES

< > BotCompany Repo | #1026570 // gazelle_singleChangedWord_ifMoreThanOneWord - returns PairS or null

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

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

static PairS gazelle_singleChangedWord_ifMoreThanOneWord(S inputA, S inputB, O... _) {
  O tokenizer = optPar tokenizer(_, gazelle_zip_defaultTokenizer());
  if (countTokens((LS) callF(tokenizer, inputA)) <= 1) null;
  if (countTokens((LS) callF(tokenizer, inputB)) <= 1) null;
  ret gazelle_singleChangedWord(inputA, inputB, _);
}

static PairS gazelle_singleChangedWord_ifMoreThanOneWord(PairS inputs, O... _) {
  ret gazelle_singleChangedWord_ifMoreThanOneWord(inputs.a, inputs.b, _);
}

Author comment

Began life as a copy of #1023063

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: #1026570
Snippet name: gazelle_singleChangedWord_ifMoreThanOneWord - returns PairS or null
Eternal ID of this version: #1026570/1
Text MD5: 1e791cb84d81a6a29feb420c7e72fcb8
Transpilation MD5: b52a3b4e62cd8324c7dbcc727eb60fcb
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:32:49
Source code size: 498 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 150 / 239
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)