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

23
LINES

< > BotCompany Repo | #1024441 // filterI - synonym of filterIterator

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4016L/23K).

1  
static <A> IterableIterator<A> filterI(Iterator<A> it, F1<A, Bool> f) {
2  
  ret filterIterator(it, f);
3  
}
4  
5  
6  
7  
static <A> IterableIterator<A> filterI(Iterator<A> it, IF1<A, Bool> f) {
8  
  ret filterIterator(it, f);
9  
}
10  
11  
12  
13  
static <A> IterableIterator<A> filterI(F1<A, Bool> f, Iterator<A> it) {
14  
  ret filterIterator(f, it);
15  
}
16  
17  
static <A> IterableIterator<A> lambdaMapLike filterI(IF1<A, Bool> f, Iterator<A> it) {
18  
  ret filterIterator(f, it);
19  
}
20  
21  
static <A> IterableIterator<A> filterI(IF1<A, Bool> f, Iterable<A> it) {
22  
  ret filterIterator(f, iterator(it));
23  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1024441
Snippet name: filterI - synonym of filterIterator
Eternal ID of this version: #1024441/4
Text MD5: 8fa39d49052f8a9c3a883281c43f3e81
Transpilation MD5: fb24cb97024586ce6f447b2f8158f0b9
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-14 04:03:33
Source code size: 571 bytes / 23 lines
Pitched / IR pitched: No / No
Views / Downloads: 212 / 265
Version history: 3 change(s)
Referenced in: [show references]