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

10
LINES

< > BotCompany Repo | #1022422 // tok_replaceWords_transferCase

JavaX fragment (include)

static LS tok_replaceWords_transferCase(SS map, LS tok) {
  tok = cloneList(tok);
  for (int i = 1; i < l(tok); i += 2) {
    S t = tok.get(i);
    S x = map.get(t);
    if (x != null)
      tok.set(i, transferCase(t, x));
  }
  ret tok;
}

Author comment

Began life as a copy of #1022421

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1022422
Snippet name: tok_replaceWords_transferCase
Eternal ID of this version: #1022422/2
Text MD5: 2c4a732ad5f7680bd32967e2c221a1c4
Author: stefan
Category: javax / gazelle
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-17 10:35:48
Source code size: 248 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 296 / 334
Version history: 1 change(s)
Referenced in: [show references]