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

5
LINES

< > BotCompany Repo | #1013577 // encloseTokens

JavaX fragment (include)

static S encloseTokens(Pair<S> sep, L<S> tok, int startIndex, int endIndex) {
  ret enclose(sep, joinSubList(tok, 0, startIndex))
    + joinSubList(tok, startIndex, endIndex)
    + enclose(sep, joinSubList(tok, endIndex));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1013577
Snippet name: encloseTokens
Eternal ID of this version: #1013577/1
Text MD5: a85e7c177a9328d1b14cb66c486c359c
Author: stefan
Category: javax / general parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-10 15:40:43
Source code size: 228 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 357 / 393
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)