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

9
LINES

< > BotCompany Repo | #1023752 // indexOfFirstThat - synonym of indexOfPred

JavaX fragment (include)

static int indexOfFirstThat(L l, O pred) {
  ret indexOfPred(l, pred);
}



static <A, B> int indexOfFirstThat(L<A> l, IF1<A, B> pred) {
  ret indexOfPred(l, pred);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1023752
Snippet name: indexOfFirstThat - synonym of indexOfPred
Eternal ID of this version: #1023752/2
Text MD5: cd983c6d07689a5f41a6fbbd07381f1d
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-07 23:43:12
Source code size: 174 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 258 / 291
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)