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).

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

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: 116 / 175
Referenced in: [show references]