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

7
LINES

< > BotCompany Repo | #1007446 - containsSubList

JavaX fragment (include)

static <A> bool containsSubList(L<A> x, L<A> y) {
  ret indexOfSubList(x, y) >= 0;
}

static <A> bool containsSubList(L<A> x, A... y) {
  ret indexOfSubList(x, y, 0) >= 0;
}

Author comment

Began life as a copy of #1002135

download  show line numbers  debug dex   

Travelled to 11 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #1007446
Snippet name: containsSubList
Eternal ID of this version: #1007446/3
Text MD5: 1eed827e369cf852c20ece37683cef38
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-13 18:05:35
Source code size: 181 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 304 / 286
Version history: 2 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1007446 & http://1007446.tinybrain.de