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

7
LINES

< > BotCompany Repo | #1028359 // entriesFollowingIndices

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

Libraryless. Click here for Pure Java version (2527L/16K).

1  
static <A> L<A> entriesFollowingIndices(L<A> l, Cl<Int> indices) {
2  
  new L<A> out;
3  
  fOr (int i : indices)
4  
    if (i+1 < l(l))
5  
      out.add(l.get(i+1));
6  
  ret out;
7  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1028359
Snippet name: entriesFollowingIndices
Eternal ID of this version: #1028359/1
Text MD5: 0980b53bd6cb2588eb7551399ff6d703
Transpilation MD5: 8ab592e2dbd41e19907bb1908aac57dc
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-06-13 13:15:09
Source code size: 172 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 171 / 245
Referenced in: [show references]