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

5
LINES

< > BotCompany Repo | #1019850 // copyListPart

JavaX fragment (include)

static <A, B extends A> void copyListPart(L<B> a, int i1, L<A> b, int i2, int n) {
  if (a == null || b == null) ret;
  for i to n:
    b.set(i2+i, a.get(i1+i));
}

Author comment

Began life as a copy of #1009526

download  show line numbers  debug dex  old transpilations   

Travelled to 11 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv

No comments. add comment

Snippet ID: #1019850
Snippet name: copyListPart
Eternal ID of this version: #1019850/1
Text MD5: 8bd6720d6b910742b93f8194cec805aa
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-28 22:04:59
Source code size: 167 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 275 / 417
Referenced in: [show references]