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

21
LINES

< > BotCompany Repo | #1018032 // indexOfOneOf - synonym of indexOfAny

JavaX fragment (include)

static <A> int indexOfOneOf(L<A> l, int i, A... x) {
  ret indexOfAny(l, i, x);
}



static <A> int indexOfOneOf(L<A> l, Collection<A> x) {
  ret indexOfAny(l, x);
}



static <A> int indexOfOneOf(L<A> l, int i, Collection<A> x) {
  ret indexOfAny(l, i, x);
}



static int indexOfOneOf(S s, int i, S chars) {
  ret indexOfAny(s, i, chars);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1018032
Snippet name: indexOfOneOf - synonym of indexOfAny
Eternal ID of this version: #1018032/1
Text MD5: 2c7c42a2520b8af3751e11645b190b66
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-26 17:46:49
Source code size: 348 bytes / 21 lines
Pitched / IR pitched: No / No
Views / Downloads: 342 / 358
Referenced in: [show references]