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

3
LINES

< > BotCompany Repo | #1002599 // appendToLast - append to last string in list

JavaX fragment (include)

static void appendToLast(L<S> l, S s) {
  l.set(l(l)-1, last(l) + s);
}

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: #1002599
Snippet name: appendToLast - append to last string in list
Eternal ID of this version: #1002599/1
Text MD5: 96a142fa4a44a8572abcdc92125db38c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-02-05 00:33:57
Source code size: 73 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 688 / 613
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)