Libraryless. Click here for Pure Java version (2204L/14K).
static <A> L<A> spliceList(L<A> a, int from, int to, Cl<A> b) { ret concatLists( takeFirst(a, from), b, subList(a, max(from, to)); }
Began life as a copy of #1024383
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1026315 |
Snippet name: | spliceList - take out part and put in something new. note: second int is TO, not LENGTH |
Eternal ID of this version: | #1026315/2 |
Text MD5: | 76e67ffb9844189815ddb446cf32fac8 |
Transpilation MD5: | 05b1720ab9439e0e50bff9df05ed6f2f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-12-15 21:26:59 |
Source code size: | 151 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 274 / 347 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1031855 - spliceObjectArray - take out part and put in something new. note: second int is TO, not LENGTH |