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.

1  
static <A> A popLast(L<A> l) {
2  
  ret liftLast(l);
3  
}
4  
5  
static <A> L<A> popLast(int n, L<A> l) {
6  
  ret liftLast(n, l);
7  
}
8  
9  
ifclass DoubleBuffer
10  
static double popLast(DoubleBuffer l) {
11  
  ret l.popLast();
12  
}
13  
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: 777 / 2175
Version history: 4 change(s)
Referenced in: [show references]