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

5
LINES

< > BotCompany Repo | #1021567 // addAllReversed

JavaX fragment (include)

1  
static <A> void addAllReversed(Collection<A> dest, L<A> src) {
2  
  if (dest == null) ret;
3  
  for (int i = l(src)-1; i >= 0; i--)
4  
    dest.add(src.get(i));
5  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1021567
Snippet name: addAllReversed
Eternal ID of this version: #1021567/1
Text MD5: ea57b75401f31e161c4909efe4d35461
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-18 15:54:37
Source code size: 157 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 346 / 370
Referenced in: [show references]