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

13
LINES

< > BotCompany Repo | #1014420 // iff - synonym of iteratorFromFunction_withEndMarker

JavaX fragment (include)

1  
// f: func -> A | endMarker
2  
static <A> IterableIterator<A> iff(O f) {
3  
  ret iteratorFromFunction_withEndMarker(f);
4  
}
5  
6  
// can't use type parameter because end marker
7  
static IterableIterator iff(F0 f) {
8  
  ret iteratorFromFunction_withEndMarker(f);
9  
}
10  
11  
static <A> IterableIterator iff(IF0 f) {
12  
  ret iteratorFromFunction_withEndMarker(f);
13  
}

Author comment

Began life as a copy of #1013588

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1014420
Snippet name: iff - synonym of iteratorFromFunction_withEndMarker
Eternal ID of this version: #1014420/4
Text MD5: 7d8a8fee487044862f7499b401898d26
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-26 12:19:01
Source code size: 348 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 516 / 542
Version history: 3 change(s)
Referenced in: [show references]