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

13
LINES

< > BotCompany Repo | #1002780 // popLast - synonym of liftLast

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

Transpiled version (3841L) is out of date.

static <A> A popLast(L<A> l) {
  ret liftLast(l);
}

static <A> L<A> popLast(int n, L<A> l) {
  ret liftLast(n, l);
}

ifclass DoubleBuffer
static double popLast(DoubleBuffer l) {
  ret l.popLast();
}
endif

Author comment

Began life as a copy of #1002116

download  show line numbers  debug dex  old transpilations   

Travelled to 17 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, wnsclhtenguj, xrpafgyirdlv

No comments. add comment

Snippet ID: #1002780
Snippet name: popLast - synonym of liftLast
Eternal ID of this version: #1002780/5
Text MD5: a1ebb56d09f850696b47a18fa26ce7b5
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-09-30 06:19:27
Source code size: 218 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 776 / 2173
Version history: 4 change(s)
Referenced in: [show references]