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

9
LINES

< > BotCompany Repo | #1034171 // indexOfFirst - synonym of indexOfPred

JavaX fragment (include)

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



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

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034171
Snippet name: indexOfFirst - synonym of indexOfPred
Eternal ID of this version: #1034171/1
Text MD5: 6adc22fe0573587523de847027ed8dcb
Author: someone
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-25 19:58:54
Source code size: 160 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 67 / 85
Referenced in: [show references]