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

4
LINES

< > BotCompany Repo | #1027863 // magicIntRangeOfSubList

JavaX fragment (include)

static <A> IntRange magicIntRangeOfSubList(L<A> list, L<A> sublist) {
  int i = magicIndexOfSubList(list, sublist);
  ret i < 0 ? null : IntRange(i, i+l(sublist));
}

Author comment

Began life as a copy of #1001832

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: #1027863
Snippet name: magicIntRangeOfSubList
Eternal ID of this version: #1027863/1
Text MD5: d13da700cf540fbd346a24ebbb740233
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-04-16 12:51:56
Source code size: 168 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 139 / 185
Referenced in: [show references]